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 |
Is it possible to update the views? If yes, how, if not, why?
What is mean by dml?
What is the difference between a clustered index and a non-clustered index?
difference between truncate, delete aur drop?
What is used to replicate sessions between instances in coldfusion clusters?
How to override dml statements with triggers?
Can we create clustered index on non primary key column
20 Answers ABC, CTS,
Is INSTEAD OF trigger directly applicable to Table ?
Difference between Function and Stored Procedure?
Mention the 3 ways to get a count of the number of records in a table.
what are the joins,primary key,foriegn key, candidate key, super key and expain them?
How many types of local tables are there in sql server?