What is difference between TRUNCATE & DELETE?

Answer Posted / amedela chandra sekhar

Truncate Delete
1)it is DDl command it is DML command
2)it delete records permanently it delete records temporarly
we can't roll back we can roll back the data

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the requirement of self-join?

536


What is meant by truncate in sql?

520


Does inner join return duplicate rows?

516


What is procedure explain with example?

530


Can we delete column in sql?

557






How do I install microsoft sql?

522


What is pragma in sql?

613


what are all the common sql function? : Sql dba

577


What does an inner join do?

553


How do I view a view in sql?

502


What is embedded sql what are its advantages?

500


what is the use of set statement in tsql? : Transact sql

523


What is foreign key sql?

548


How do I remove sql plus from windows 10?

562


table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

3325