what is the difference between TRUNCATE and DELETE command
in SQL
Answers were Sorted based on User's Feedback
Answer / amit
In Truncate only data are remove from table
where as in delete structure of table are delete.
| Is This Answer Correct ? | 3 Yes | 9 No |
Answer / rams
TRUNCATE:
1. it is a DML command.
2. by using truncate we can remove data in a table
permanantly.
3. we cant roll back the data.
4. it is faster than delete command.
DELETE:
1. it is a DDL command
2. by using delete command we can remove data in a table,
but we can rollback the data.
4. it is slower than the truncate command.
| Is This Answer Correct ? | 13 Yes | 21 No |
What is the Query Optimizer. How you optimize your qeury.
What are the main diff. between oracle 7.3 and oracle 8i?
What is the use of lockboxes? Steps for lock box : oracle accounts receivable
what are all the conversion and interfaces in GL,AP,AR,HRMS with example? otherwise send send link for these
0 Answers Pathway Technologies,
which gives Oracle R12 Financial training in delhi please give me answer its urgent?
i want to know about the javaBean.what is its purpose and how it can use in Forms.
CAN AUNIVERSE BE LINKED TO MORE THAN ONE DATASOURCE?
What is database schema?
3. Steps in UAT?
key flexfield structure
what is shared memory?
HOW SHALL WE DIFFERENTIATE BETWEEN PRIMARY KEY AND FORIEGN KEY?