what is the difference between TRUNCATE and DELETE command
in SQL

Answer Posted / nithya

The delete statement will result in the table spaces or
memories would remain as the current size and table
structure remain in the database. Delete is not effective
when you use it to remove all data from a table, because it
takes up storage spaces due to unclear memories.

The truncate statement will result in clearing table spaces
or memories and the table structure remain in the database.
Therefore it free table storage spaces and use it only when
you need to remove all data from a table.

Is This Answer Correct ?    24 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Tax Categories?

1634


what is semphore explian it?

2250


Give two methods you could use to determine what DDL changes have been made.

6037


Can we modify approve purchase order?if yes what is navigation?

1558


what are the interface and api table for receipts conversion in oracle receivables? : oracle accounts receivable

647






A scenario for amount correction & how to use amount correction functionality in AP invoices

1657


what are the API of GL,PO,AP

1783


WHAT ALL DIFFERENT KIND OF FUNCTIONS AVAILABLE WHILE DESIGN UNIVERSES?

1664


HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..

1997


What is auto invoicing? : oracle accounts receivable

665


Explain the process of recievables in oracle financials. : oracle accounts receivable

664


Explain prerequisites and post activities of oracle database installation

1621


Differentiate between writeoff and receipt writeoff. : oracle accounts receivable

746


default triggers available for reports

1765


as a technical developer in oracle applications which type errors feced in your experience sofar

1785