I want to drop all tables from database..
when i run sp_MSforeachtable, it drops some tables but left rest of tables becoz of referencial constraint
In oracle we can use cascade constraints option while dropping table!
Is their any way to do same in sql server 2005
Or is their any other procedure(sql script) instead of sp_MSforeachtable to drop all tables from database.