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

Do you know what is replace and stuff function in sql server?

1082


What are the acid properties?

1059


Explain a checkpoint?

1086


After removing a table from database, what other related objects have to be dropped explicitly?

1103


What are group functions in query statements in ms sql server?

1063


What is query cost in sql server?

1037


How does recursive cte works in sql server?

1059


How is sql used in sql server?

1056


What is statement level trigger?

1046


Explain about merge replications?

1079


How to integrate the ssrs reports in application?

1040


What is 5nf in normalization form?

1044


What are the steps to take to improve performance of a poor performing query? : sql server database administration

1089


What is the Difference Between Primary and Foreign Key?

1065


Can sql server 2016 run on windows 7?

965