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
 Old Forums
 CLOSED - General SQL Server
 Using loop to truncate 50 tables

Author  Topic 

Sun Foster
Aged Yak Warrior

515 Posts

Posted - 2006-03-20 : 09:27:21
After testin, I need to truncate about 50 tables and insert real data.
Can some one help me using loop to do it?

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-03-20 : 09:30:35
http://www.extremeexperts.com/SQL/Scripts/TruncateAllTables.aspx

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -