Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
1) You cann't drop any object in schemas other than dbo, so you MUST use sys.schemas system view properly.2) You cann't drop tables even in dbo schema if they are referenced by other ones, not dropped so far. Drop all FKs before tables.dva
For Ravi LVS,The way you have suggested to Empty the database by just deleting and recreating it, is not at all smarter way when you are about to empty a remote database located on live database server, There are times when you don't hold such rights of deleting database on Live...
Software Developer (Senior)
Gateway Technolabs Pvt. Ltd
While not working loves Photography and bike riding. Playing computer games are the best stress buster for him