Can you tell me the difference between DELETE & TRUNCATE
commands?

Answer Posted / vijay dev arya

Delete command removes the rows from a table based on the
condition that we provide with a WHERE clause. Truncate will
actually remove all the rows from a table and there will be
no data in the table after we run the truncate command.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?

2311


what's the difference between delete table and truncate table commands? : Sql server database administration

735


What is the difference between functions and scalar functions?

838


Explain DBCC?

776


What is the usage of sign function?

841


What is the default value of an integer data type in sql server 2005?

793


Determine when an index is appropriate?

816


What is difference between after and before?

742


What are the components of dbms?

752


Explain an automatic checkpoint

756


Explain about extended stored procedure?

728


What is a field name?

754


Explain important index characteristics?

803


What is attribute relationships, why we need it? : sql server analysis services, ssas

754


what types of replication are supported in sql server? : Sql server database administration

708