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

How to drop an existing stored procedure in ms sql server?

0 Answers  


how would you improve etl (extract, transform, load) throughput?

0 Answers   LinkedIn,


What are different types of collation sensitivity?

0 Answers  


What is sql sandbox in sql server?

0 Answers  


How to concatenate two binary strings together?

0 Answers  


Why use triggers?

0 Answers  


What is openrowset sql server?

0 Answers  


Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication

0 Answers  


Which data types generate inaccurate results if used with an = or <> comparison in a where clause of a sql statement?

0 Answers  


What is the importance of three tier architecture?

0 Answers   QuestPond,


What does dml stand for?

0 Answers  


What is the difference between Userdefined function and stored procedure? Explain and give the example also

5 Answers  


Categories