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 stored procedure would you use to view lock information? : Sql server administration

951


What is store procedure? How do they work?

982


What is the most common type of join?

971


What is Lock table in SQL?

1445


What is log cache in sql server?

1021


what is a deadlock? : Sql server database administration

1036


Why we use trigger in sql server with example?

943


What are the differences between stored procedure and the dynamic sql?

1067


What is the sql case statement used for? Explain with an example?

971


How dts is used to extract, transform and consolidate data?

1060


What is the difference between varchar and nvarchar?

925


Explain transaction server implicit?

968


What Are the Main Features of SQL Azure?

115


How to get the definition of a trigger back?

988


What is GUID in sql server?

1144