What is the difference between DELETE and TRUNCATE?

Answer Posted / althaf

the delete command log all the stmts in the transaction log
and the truncate command dont log the stmts.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pl sql record in oracle?

565


what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba

554


what is a foreign key ? : Sql dba

609


What are pl/sql packages?

570


Does mysql_real_escape_string prevent sql injection?

539






Can there be more than one function with a similar name in a pl/sql block?

547


Why plvtab is considered as the easiest way to access the pl/sql table?

619


What is faster join or subquery?

512


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

6081


What is sorting in sql?

503


What is mdb stand for?

556


Can I copy :old and :new pseudo-records in/to an oracle stored procedure?

666


How to add a column ‘salary’ to a table employee_details?

591


Is sql scripting language?

526


Does sql between include endpoints?

552