What is the difference between Drop and Truncate

Answer Posted / swathi

drop will remove the entire table from the database and can
be rollbacked.

truncate will remove the content of the table and it cannot
be rollbacked.

truncate is little bit faster than drop.

Is This Answer Correct ?    4 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

662


What is onf in normalization form?

578


Why do we need different type of parameter?

556


What are the different types of collation sensitivity?

567


What is a covered index?

525






Explain the creation and execution of a user-defined function in the sql server?

590


Can we perform backup restore operation on tempdb?

579


What are the different types of locks in the database?

493


What is difference between unique and primary key?

487


What is the web service used for reporting services?

98


Explain about thread and memory management process of SQL?

550


System variable and temporary variables

1724


How do we Backup SQL Azure Data?

86


Explain datetimeoffset data type in sal server 2008?

550


What are .mdf files?

528