Differentiate between TRUNCATE and DELETE?

Answers were Sorted based on User's Feedback



Differentiate between TRUNCATE and DELETE?..

Answer / vikas

When we use truncate data deletes permanently and can not recover.Truncate is fast because it not writes any thing in log file while perform deleting operations.

Delete is used to removed table data and it can be recover by using rollback . Delete is slow because it create log file before performing the delete operation.

Is This Answer Correct ?    0 Yes 0 No

Differentiate between TRUNCATE and DELETE?..

Answer / vikas

delete is slow because it creates log file while performing delete operations.We can recover data which is removed by using delete command by using rollback.

Truncate is fast because it does not create any log file while performing delete operation.We can not recover data which is removed by using truncate command.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

Her departmandaki isçilerden empno' su ikinci sirada olan isçilerin empno, deptno, hiredate, sira_no bigilerini döndüren sorguyu yaziniz?

0 Answers  


what r tyhe major differences between oracle 9i & 10g?

6 Answers  


is database gud carrier option??

1 Answers  


How does oracle handle read consistency?

0 Answers  


How to define a record variable to store a table row?

0 Answers  






Explain view?

0 Answers  


What is a public synonym?

1 Answers  


What is the oracle implicit cursor?

0 Answers  


If youre unsure in which script a sys or system-owned object is created, but you know its in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?

0 Answers  


What is forall Statement ?

2 Answers   Thermotech,


What do you understand by a database object?

0 Answers  


How to call a sub procedure?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)