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

How to create a new table in a given schema?

658


Can group by be used without aggregate functions?

483


How can I get data from a database on another server?

515


how can you select rexcord(rows) from table A which is not present in Table B . Id being the FK in Table B referencing to ID Table A

1221


What does REVERT do in SQL Server 2005?

567






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

538


How much memory that we are using in Logshipping Concept?

1368


What is dynamic cursor in SQL SERVER?

565


What does select 1 mean?

534


Write the syntax for stuff function in an sql server?

538


which backup strategy you are following at ur company

1735


What will happen if a column containing char type data is changed to the nchar data type?

627


What is mean by dml?

542


How and why use sql server?

554


What is sql server programming?

557