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

What is subquery? Explain the properties of a subquery?

682


What is database isolation in sql server? : sql server database administration

774


What are different types of data sources?

646


What is side by side migration in sql server?

746


What it means to be triggered?

662






What's new in sql management studio for sql server? : sql server management studio

766


How do indexes help, types?

718


What is temporal data type?

659


How to create view in stored procedure sql server?

688


What is inline variable assignment?

781


How do you migrate data from mssql server to azure?

159


What is bit data type?

795


Explain what is analysis service repository?

708


Explain DBCC?

733


What are the disadvantages of using querystrings to send data from one page to another?

767