What's the difference between DELETE TABLE and TRUNCATE
TABLE commands?

Answer Posted / baijnath tiwari

TRUNCATE is a DDL command whereas DELETE is a DML command.
Hence DELETE operation can be rolled back, but TRUNCATE
operation cannot be rolled back. WHERE clause can be used
with DELETE and not with TRUNCATE.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when converting big values to integers?

727


How to create an index on a view?

743


How many types of functions are there in sql server?

604


how would you improve etl (extract, transform, load) throughput?

752


What are the rendering extensions of ssrs?

125






Explain what are various ways to enhance the ssrs report?

776


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

709


Explain about thread and memory management process of SQL?

720


What is the sql server 2000 version number?

764


What are rows and columns?

716


What is difference between foreign key and unique key?

749


What is the name of reporting services config file and what’s it’s used for?

119


What is identity?

760


What is clustered vs nonclustered index?

681


How to generate random numbers with the rand() function in ms sql server?

758