How to delete all data in a table in SQL CE?

前端 未结 2 1138
时光取名叫无心
时光取名叫无心 2021-02-19 08:32

SQL CE does not support TRUNCATE command. To clear a table I have to use DELETE. Is there a quicker/better way to clear the data then the following command?

DELE         


        
2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-19 09:35

    No, other than DROP TABLE, CREATE TABLE and INSERT the surviving data (if there are any)

提交回复
热议问题