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

How do I run a sql script?

727


What is difference between inner join and cross join?

715


What is an exception in PL/SQL? What are the two types of exceptions?

848


What is sql*plus?

773


What are literals in sql server?

734






What are stored procedures used for?

728


Can pl sql procedure have a return statement?

722


How many types of keys are there in sql?

755


What is embedded sql in db2?

708


How do you concatenate in sql?

723


Can I learn sql in a week?

753


What is pl sql block structure?

719


Which join is like inner join?

762


Is primary key an index?

713


What is %rowtype in pl sql?

682