我在db2中使用了表(使用bigsql),该表在IBM BigInsights上按日期分区
table_name_abc
20150810
data corresponding to partition
20150811
data corresponding to partition
....
我想要的是删除特定分区说20150810
或删除该分区中的数据
我试过这个
db2 "truncate table test_schema.table_name_abc where partition_date = 20150810";
但它给出了以下错误
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0104N An unexpected token "where" was found following "test_table".
Expected tokens may include: "". SQLSTATE=42601
有人可以指示如何做到这一点吗?