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 2008 Forums
 Transact-SQL (2008)
 Truncate tables according to dependency

Author  Topic 

baburk
Posting Yak Master

108 Posts

Posted - 2009-08-19 : 03:23:18
Hi,

I want to truncate all tables which are dependent to current table and also delete the tables which current table depends.

Thanks
Babu Kumarasamy

cat_jesus
Aged Yak Warrior

547 Posts

Posted - 2009-08-19 : 13:52:54
How are you determining dependency?




An infinite universe is the ultimate cartesian product.
Go to Top of Page
   

- Advertisement -