what is difference between delete and truncet ?

Answer Posted / karna

As of I know,we can roll back bothe delete and truncate
statements.but in case of delete statement logging of the
details in the log file takes more time,beacuse it logs the
details row by row in the page.
when it comes to truncate,all the rows will be logged at
the same time.

Please correct me,If I am wrong.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Display the employees whose salary is less than average salary.

622


What is the difference between database and server?

520


what is the full procedure for using store procedure in informatica7.1?

1802


What is sharded database?

500


What is a database example?

528






What is a database string?

515


What are different types of joins used in?

614


Please post the scenerois for writing the complex sql queries , for my practice.Can be any query if you cannot solve.

2057


How does non-cluster index functions?

632


What is database server and how it works?

546


What advantages does DBMS have over traditional file systems?

583


What is a Transformation?

551


Why do we need distributed database?

533


What is the concept of Virtual field?

1612


What is the best database?

515