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

Does sql server 2000 clustering support load balancing?

960


How to replace null values in expressions using isnull()?

1095


How can sql injection be stopped? : sql server security

1027


What are subquery and its properties?

1039


Does a specific recovery model need to be used for a replicated database? : sql server replication

953


Differentiate between ms sql server reporting services vs crystal reports?

893


Can we use where and having clause together?

1033


What is importing utility?

978


What are the different acid properties?

1057


What is outer join in sql server joins?

1110


What are the differences between char and varchar in ms sql server?

1053


Explain system rowset functions?

988


How many types of built in functions are there in sql server 2012?

917


What is the use of stored procedure?

933


What the class forname () does?

1051