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

You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?

990


What is ddl command?

1033


Explain about sql server login?

1134


How to get a list of columns using the "sys.columns" view in ms sql server?

1004


What are cursors and when they are useful?

1149


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

1123


What is database black box testing?

1072


What is sql sandbox in sql server?

1293


What is normalization? Explain different forms of normalization?

1229


how to avoid cursors? : Sql server database administration

1013


Explain nested trigger in sql?

1130


How to test values returned by a subquery with the in operator?

1252


What is a transactions?

1085


How to create new databases with "create database" statements?

1067


How is a full-text index updated?

1001