all groups > sql server mseq > may 2005 >
You're in the

sql server mseq

group:

Clearing tables



Clearing tables Chris Lieb
5/18/2005 10:59:17 AM
sql server mseq: Which is the more efficient way to clear the contents of a table:
DELETE FROM tableName
TRUNCATE TABLE tableName
Or DROP the table then create it again?

--
Chris Lieb
UPS CACH, Hodgekins, IL
Re: Clearing tables Hari Prasad
5/19/2005 12:42:53 AM
Hi,

I will go with TRUNCATE TABLE <Table Name>

Thanks
Hari
SQL Server MVP

[quoted text, click to view]

AddThis Social Bookmark Button