Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can you tell me the difference between DELETE & TRUNCATE
commands?

Answer Posted / rahul goel

There are many differences. Some of these are as follows:
1. Delete can be rollback but Turncate can not be rollback.
2. Delete is a DML command and Turncate is a DDL command.
3. Delete command is used for deleting one or more row from
the table whereas Turncate command is used for deleting all
rows from the table.
4. Turncate is fact as compared to delete command.
5. we can use where clause with Delete but where is not
possible with Turncate.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between index and primary key?

1040


What is a matrix in ssrs?

135


How does the report manager work in SSRS?

142


What is the difference between Clustered and Non-Clustered Index?

1011


How will you decide the active and passive nodes?

1070


What are the character string functions supported by sql server 2005?

934


Call by value and call by reference in procedure and function, with NOCOPY.

1245


What are triggers in ms sql server?

1101


How do I find information about the install locations for the various instances running on a computer?

1031


According to you what goes into making the best database administrator? : sql server database administration

937


Explain the advantages of merge replication?

894


Tell me extended events in sql server 2008?

949


Explain the properties of the relational tables?

939


List the ways in which dynamic sql can be executed?

969


What are the different types of data sources in ssrs?

188