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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain data warehousing in sql server?

988


Do you know what is xpath?

1003


Explain the microsoft sql server delete command?

948


Does partitioning improve performance sql server?

896


What are various aggregate functions that are available?

913


Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?

1126


What is sql collation?

1136


When is the use of update_statistics command?

949


What is save transaction and save point?

1119


tell me the disaster recovery plan

2455


How to convert numeric values to integers in ms sql server?

1006


What is a trace frag?

1035


What is bulkcopy in sql?

899


What is the command to change the recovery model?

998


How many types of stored procedures are there in sql server?

951