What is the difference between Drop and Truncate

Answer Posted / vishant kakwani

drop is delete the data with table and if id is used as autoincrement then id can't be started with 1.
Truncate is delete the only data table as it is and autoincrement id will started with 1 every time if you truncate the table.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between count (*) and count column?

517


Can sub report data source be different from that of the parent report?

105


What is mssql?

564


How to execute a stored procedure in ms sql server?

546


What is the use of tempdb? What values does it hold?

563






What is the purpose of the master database?

602


explain different types of backups avaialabe in sql server? : Sql server database administration

588


Is BCNF better than 2NF & 3NF? Why?

616


Explain intellisense for query editing

563


According to you what goes into making the best database administrator? : sql server database administration

544


how many clustered indexes can be created on a table? : Sql server database administration

561


How to change a login name in ms sql server?

556


What is change tracking in sql server?

541


Define Wed Edition in SQL Azure?

80


What is the current limitation of the size of SQL Azure DB?

102