Re: Clearing tables
- From: "Hari Prasad" <hari_prasad_k@xxxxxxxxxxx>
- Date: Thu, 19 May 2005 00:42:53 +0530
Hi,
I will go with TRUNCATE TABLE <Table Name>
Thanks
Hari
SQL Server MVP
"Chris Lieb" <ChrisLieb@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E6085077-8B80-4573-B40D-E9837967B463@xxxxxxxxxxxxxxxx
> 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
> Tech Support Group - Systems/Apps
.
- References:
- Clearing tables
- From: Chris Lieb
- Clearing tables
- Prev by Date: Clearing tables
- Next by Date: Re: query multi tables, count/sum 1 of the tables
- Previous by thread: Clearing tables
- Index(es):
Relevant Pages
|
|