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


Please Help Members By Posting Answers For Below Questions

1 01 101 01010

1572


What is the difference between system objects and user objects?

711


What is blocking and how would you troubleshoot it? : sql server database administration

594


explain databases and sql server databases architecture? : Sql server database administration

523


When I run the sql server 2000 setup, it just hangs. What do I do?

654






You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?

549


What are data files?

583


What is self contained scalar sub query?

541


How do you rebuild an identity column?

552


Do you know hot add cpu in sql server 2008?

543


What is the difference between varchar and nvarchar datatypes?

574


What are the disadvantages of using querystrings to send data from one page to another?

588


What is create command?

524


Explain partitioned view?

591


What is t-sql script to take database offline – take database online.

604