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
Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracle's. What database recovery options are available? Database is in archive log mode.
Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?
What is the default port no on which sql server listens? : sql server DBA
what are the differences of where and if in SAS?
What authentication modes does sql server support? : sql server DBA
which background process invoke at the time of upgradation tell me???
what do you understand by fine-grained auditing?
What is the difference between the 2 operating modes of database mirroring? : sql server DBA
Draft one mock email requesting your non-technical management grant you downtime to (provide justification where applicable) complete the following tasks: (1) Generate statistics on a large table; (2) Generate an RDA – if you don't know what an RDA is please say so. (3) Rename datafiles.
How do you troubleshoot errors in a sql server agent job? : sql server DBA
what functionality does oracle provide to secure sensitive information?
What are the different types of database compression introduced in sql server 2008? : sql server DBA
What is the default fill factor value? : sql server DBA
how can a session indicate its interest in receiving alerts?
Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.