what is the difference between TRUNCATE and DELETE command
in SQL
Answer Posted / pravesh kumar
Truncate
1.Truncate Can be DDL Command.
2.it cannot be rollback.
3.we cann't use Where clause.
4.truncate=delete+commit so we cann't rollback.
5.truncate delete all record from the table.
6.truncate is a DDL command and cannot be rollbackand all
memory space is released back to server.
7.speed faster.
8.do not chcek constraint.
Delete
1.Delete Can be DML Command.
2.it can be rollback.
3.we can use Where clause.
4.delete=delete-- so we can be rollback.
5.delete delete record from the table.
6.truncate is a DDL command and can be rollback and all
memory space is not released back to server.
7.speed slow.
8. chcek constraint.
| Is This Answer Correct ? | 14 Yes | 7 No |
Post New Answer View All Answers
Differentiate between writeoff and receipt writeoff. : oracle accounts receivable
Could you please let me know the interfaces in OM / FA??
What is auto accounting what are the steps for setting up auto accounting? : oracle accounts receivable
i am working with OC 4.5 i have numbers in table in 10 row with some null values please tell me how to find total? Thanks
Can we modify approve purchase order?if yes what is navigation?
What do you mean by hz_ in customer tables? : oracle accounts receivable
what is the link between suppliers and banks in ap module in oracle apps? And also query?
Explain how to close periods in ar. : oracle accounts receivable
What are the standard concurent programs for auto invoice interface and customer interfaces? : oracle accounts receivable
Explain the process of recievables in oracle financials. : oracle accounts receivable
How to move the data from one flatfile to multiple staging tables?give me some examples? for example in po interface one flat file is there and multiple staging tables are there how can move it?please give me answer for this question?
what are basic modules required to implement oracle application in any oraganisation?
What is an Oracle database Full Backup?
which gives Oracle R12 Financial training in delhi please give me answer its urgent?
types of receipts and detail desription about recipts and tables effected by receipts?