What is Difference Between delete and Truncate?

Answer Posted / udhayakumar

delete is used to delete one or more rows from the table
where as truncate to delete all the rows without its
structure from the table

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to use 'mysql' to run sql statements? : Sql dba

549


What is rename command in sql?

475


What does stand for in sql?

534


How is indexing done in search engines?

554


what is the difference between myisam static and myisam dynamic? : Sql dba

596






Write a sql query to convert all character to uppercase after hypen.

974


How insert into statements in sql?

601


Explain two easy sql optimizations.

616


How does postgresql compare to oracle/db2/ms sql server/informix?

587


how to concatenate two character strings? : Sql dba

564


How to avoid duplicate records in a query?

592


What are local and global Indexes and where they are useful.

945


Does sql use python?

581


What are the properties of a transaction?

586


What is sql*plus?

581