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 |
Can anyone explain difference between Database, Data warehouse and Data mart with some example?````
what information is maintained within the msdb database? : Sql server administration
can you any body tell me which service pack is installed in the sql server?
What are the new features in SQL Server 2005?
Differences between Standby Vs No recovery?
Explain acid?
SQL Server Performance Tuning for Stored Procedures & reducing debugging time?
1 Answers CarrizalSoft Technologies,
Explain indexed views and partitioned view with their syntax.
What is sorting and what is the difference between sorting and clustered indexes?
Your company has 50 branches all over the country all the branches, including the head office have sql server as the database every night all 50 branches upload certain information to the head office which replication topology is best suited for the above scenario?
What to check if a User database is locked?
What are truncate options available in sql server? : sql server database administration