close
1. The table doesn't have foreign key.
>> USE DatabaseName;
>> TRUNCATE TABLE TableName;
2. The table has foreign key.
>> USE DatabaseName;
>> DELETE [TableName];
>> DBCC CHECKIDENT('TableName', RESEED, 0);
全站熱搜