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 |
What are four major operators that can be used to combine conditions on a where clause?
What is similarity and difference between truncate and delete in sql?
How network traffic be reduced by using the stored procedure?
If we shrink the Databse and Files, how much size is decreased?
What is hierarchy, what are its types and difference between them? : sql server analysis services, ssas
What is index in an assignment?
Explain log shipping?
What is better - 2nd Normal form or 3rd normal form? Why?
What is the difference between OLEDB and ODBC
What are indexes? When do you need to create Indexes?
4 Answers CarrizalSoft Technologies, HP,
Explain difference between cross join and full outer join?
How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)