Can you tell me the difference between DELETE & TRUNCATE
commands?
Answer Posted / mohsin mohammed abdul
Delete command deletes the data from the tables .. but can
get back on issue of roll back whereas when you issue
truncate deletes the records and oracle implicitly issues
commit command and even when you issue rollback you won't
get the data back
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
Can you explain important index characteristics?
State the difference between union and union all?
Explain having clause?
Can a table be moved to different filegroup?
What the different types of Replication and why are they used?
How can we migrate from SQL server to SQL Azure?
What is identity?
Write a SQL query to make a column as unique?
What is the command used to recompile the stored procedure at run time?
Is it true that rules do not apply to data already existing in a database at the time the rule is created?
Which data types generate inaccurate results if used with an = or <> comparison in a where clause of a sql statement?
How to generate create function script on an existing function?
How to declare and use cursor variables?
Explain the difference between functions and stored procedures in sql server?
What is difference between views and tables?