forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2.3 KiB
2.3 KiB
TRUNCATE (Table Deletion)
In MySQL, the TABLE keyword can be omitted when the TRUNCATE statement is used to delete table data. GaussDB(DWS) does not support this usage. In addition, DSC will add CONTINUE IDENTITY RESTRICT during TRUNCATE migration.
Input
TRUNCATE TABLE `public`.`test_create_table01`; TRUNCATE TEST_CREATE_TABLE01;
Output
TRUNCATE TABLE "public"."test_create_table01" CONTINUE IDENTITY RESTRICT; TRUNCATE TABLE "public"."test_create_table01" CONTINUE IDENTITY RESTRICT;
Parent topic: Table (Optional Parameters and Operations)