If we drop a table, does it also drop related objects like constraints, indexes, columns, defaults, views, and stored procedures?
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 |
explain different types of cursors? : Sql server database administration
What are database states in ms sql server?
Data is not being delivered to subscribers, what can be the possible reasons? : sql server replication
What is SubQuery in SQL Server 2008
Explain filtered indexes benefits?
CTE(common table expression)
What is faster join or union?
How do I find the size of a sql server database?
Why Master database is required?
How can you get @@error and @@rowcount at the same time?
How to get number of days in a given year?
What is the use of DBCC commands?