Compare and contrast TRUNCATE and DELETE for a table.

Answer Posted / sridhar

truncate and delete are deltes all rows in the table but truncate is much faster than delete.
and if u delete row in the delte deletion of each gets logged in the transaction log.
truncate there is no way to log in transaction log

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

currently iam working in mnc as a oracleappsdba,please send the EXPERIENCE RESUME those who r worked as a oracle apps dba

1871


how can you implement fine-grained auditing?

606


What is the default fill factor value? : sql server DBA

574


I got an error SQL1042C. An unexpected system error occurred. Explanation: A system error occurred. One possible reason for this error is that the database manager is not installed correctly or the environment is not set up correctly. On OS/2, while trying to start the database manager, a very common reason for this error is a corrupted NET.ACC file. The command cannot be processed. The tables and views would not be opened. What is the way to open the dataase? pls help me

3807


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

656






how can you communicate with operating system files from oracle?

560


How would you go about verifying the network name that the local_listener is currently using?

2762


what do you understand by fine-grained auditing?

633


how can you find out if a table can be redefined?

597


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1548


Does any body has ORACLE Certification Dumps or Materials on 9i DBA, 10G DBA, Internet Application Developer, OCP 8i to 10g DBA Upgrade, Oracle 11i if any body have it, please kindly drop an email to: taruni_2k8@yahoo.com

1726


What view(s) do you use to associate a user's SQLPLUS session with his o/s process?

2107


how can you enable flashback feature?

536


How to start SQL Server in minimal configuration mode?

6952


What is the default port no on which sql server listens? : sql server DBA

559