Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Fire Truncate

Author  Topic 

ashtu
Starting Member

10 Posts

Posted - 2008-05-15 : 10:02:02
Hi
I have a some confusion pleaz resolve it
can i fire truncate to the multiple tables if you have any type of syntax then tell me and if not then could u resolve from store procedure

Ashish

TG
Master Smack Fu Yak Hacker

6065 Posts

Posted - 2008-05-15 : 10:14:59
If I understand your question correctly, no, you can't issue a single statement that will truncate many tables.
You need one of these statements per table:
truncate table <tableName>

This might help.

Truncate All Tables:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=65341

Be One with the Optimizer
TG
Go to Top of Page
   

- Advertisement -