Compare and contrast TRUNCATE and DELETE for a table.

Answer Posted / taral desai

truncate is faster then delete... truncate don't generate
rollback. truncated data can't be recovered

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which autogrowth database setting is good? : sql server DBA

581


how to restore files with rman?

1752


What is the difference between clustered and non-clustered index? : sql server DBA

546


what is asm?

609


what are the differences of where and if in SAS?

1664






How would you best determine why your MVIEW couldn't FAST REFRESH?

1834


how can you record information about current session?

495


How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database? : sql server DBA

657


what is the diffrence between core dba and apps dba?

2091


Define the SGA and: How you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?

3312


How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

1590


How to craeate the New Database Schema in Oracle and mysql? Please tell me with Example?

1904


What is the difference between the 2 operating modes of database mirroring? : sql server DBA

517


what do you understand by fine-grained auditing?

634


What are the high-availability solutions in sql server and differentiate them briefly? : sql server DBA

599