What is the difference between Drop and Truncate

Answer Posted / ganesh mandlik

DROP :- DROP will Remove Structure as well as all the Data
of the Table.
i.e. Primary Key, Foreign Key, Indexes & etc...

Truncate :- Truncate will Remove only Data But not the
Structure of the Table.


Ganesh Mandlik......

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add additional conditions in SQL?

775


How will you monitor replication activity and performance? What privilege do you need to use replication monitor? : sql server replication

767


How do I create a stored procedure in dbml?

694


Explain the functionalities that views support?

858


What is a mutating table error and how can you get around it?

711


Do you know the cursor optimization tips?

749


Why use “in” clause in sql server?

735


How to send email from database?

757


Is null in sql server?

741


How can you manage sql azure security?

99


what happens on checkpoint? : Sql server database administration

703


What are constraints in microsoft sql server?

744


How to create an index on a view?

749


What is a cube? : sql server analysis services, ssas

719


Explain cross join or cartesian product in sql?

700