首页 > 技术文章 > sql server 2008 清除表数据
yinmu 2019-01-04 15:45 原文
第一种:
Truncate table [tablename]
第二种:
drop from [tablename]
注:用drop清空表数据时,表的标识列不会复位。