what is the difference between TRUNCATE and DELETE command
in SQL
Answer Posted / dheeraj
Delete is DML Command ,Whereas Trucate is DDL command
Delete can be Rolled Back,Truncate cannot be rolled back,
Truncate is much faster then Delete
Delete will not released the memory space ,Memories would
be same if we use delete command the structure of the
table is still there
Trncate can be free the space in the meomory
Delete , use check constraints if exits then show error
Truncate don't use check constraint
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
What is supporting issues GL AP and AR?
Explain about party and customer in ar : oracle accounts receivable
we have 10 concurrent programs under one request group out of 10 ccps all users submitting only 9 programs from srs window remaining one ccp for specific user how can it possible send me answer asap.
what is difference between inner join & nested query or subqueries
What is the use of lockboxes? Steps for lock box : oracle accounts receivable
3. Steps in UAT?
Explain the use of table functions.
What are different types of transactions in ar? : oracle accounts receivable
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
HOW TO SAVE UNIVERSES AND DOCUMENTS IN THE REPOSITORY?
What is the difference between conversions and interfaces? : oracle accounts receivable
Where in the Oracle directory tree structure are audit traces placed?
1)After defining value set we define list of values, I need to enter 1000 values with out entering manually, how will you do that? 2)what are the parameters we use in a concurrent program? 3)what is payroll processing? 4)In organization window after defining an organization and organization classification how to create a new item in the others button? 5)If there are 10 users, How to restrict the selected users not to access the forms?
What is the technical flow associated with P2P or Procure to Pay cycle like the tables, APIs, concurrent programs involved in this cycle. Only technical please.
Differentiate between unidentified receipt, unapplied receipts and on account receipts? : oracle accounts receivable