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's the purpose of Stored Procedure?
What is the difference between the following two sql statements select count(*) from <tablename> select count(col_name) from <tablename>
What is the security principal at the database level that represents your session?
How will you collect the date from current date to last older 6 days date in sql server 2005
Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?
what is a traditional network library for sql servers? : Sql server database administration
what is statistics
How to retrieve error messages using odbc_errormsg()?
What happens if null values are involved in string operations?
How to stop a loop early with break statements in ms sql server?
can foreign key take role of primary key?
5 Answers CarrizalSoft Technologies, TCS, Villa Marie,
Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?
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)