Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


If we drop a table, does it also drop related objects like constraints, indexes, columns, defaults, views, and stored procedures?



If we drop a table, does it also drop related objects like constraints, indexes, columns, defaults, ..

Answer / anusha

No, dropping the table does not delete the corresponding table objects. Need to drop Indexes, views first before dropping the table.

eg:
drop view <database name>.<view name>
alter table <database name>.<table name> drop <index type>
drop table <database name>.<table name>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What are the advantages of policy management?

0 Answers  


what is blocking? : Sql server database administration

0 Answers  


what is diffence between replicaion and logshipping?

1 Answers  


I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration

0 Answers  


difference between sql server2000 and sql server2005

1 Answers   KPMG,


What is the sql profiler?

0 Answers  


How to drop existing views from a database in ms sql server?

0 Answers  


How to defragment table indexes?

0 Answers  


Explain index in sql server?

0 Answers  


What is a covering index?

0 Answers  


In the primary key have a multiple field or not?

8 Answers   TCS,


What is importing utility?

0 Answers  


Categories