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 |
how can we add a field to the oracle standard forms through Form Persanlization or custom.pll
what is diff between pre insert,on insert,post insert triggers?
What is autocashrule set? : oracle accounts receivable
What is the Query Optimizer. How you optimize your qeury.
as a technical developer in oracle applications which type errors feced in your experience sofar
Give two methods you could use to determine what DDL changes have been made.
Can you explain how to adjust the amount of advance already received against an invoice? : oracle accounts receivable
Explain prerequisites and post activities of oracle database installation
How would you force a log switch?
What are different types of receipt reversals ? Explain them : oracle accounts receivable
HOW TO SAVE UNIVERSES AND DOCUMENTS IN THE REPOSITORY?
HOW SHALL WE DIFFERENTIATE BETWEEN PRIMARY KEY AND FORIEGN KEY?