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

if you encounter this kind of an error message, what you need to look into to solve this problem? : Sql server database administration

786


How to check table values in sql server?

752


What is rtm version in sql server?

763


What are the 2 types of classifications of constraints in the sql server?

840


What is the use of =,==,=== operators?

817


How is foreign key related to primary key?

768


Explain log shipping?

830


Which database stores information about replication?

799


What is autocommit mode in sql server?

775


What is dirty read?

872


What are sql server functions?

761


How to update a field in SQL after ALTERING a row?

980


What are the three different part of rdl file explain them?

224


Can sql servers link to other servers like oracle?

653


Is sql server is free?

763