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...

What is the difference between truncate and delete statement?

Answer Posted / balaji t

Identity counter can be reset in truncate whereas it is not possible in delete.Truncate dont activate trigger whereas delete can be used in triggers.truncate is a DDL command whereas delete is a DML command.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute a sql statement using odbc_exec()?

1150


Is sql server implemented as a service or an application? : Sql server database administration

970


If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

1040


what is the main function of a query parameter?

153


What is DCL?

1056


Can we add a cpu to sql server?

1019


What is the difference between getdate and sysdatetime?

1015


What is the difference between implicit and explicit transaction?

1021


Explain the phases a transaction has to undergo?

1061


What language is sql server written in?

1042


When multiple after triggers are attached to sql table, how to control the order of execution?

1050


What is the stuff and how does it differ from the replace function?

1139


What is a natural primary key?

1054


What are the database roles? : sql server security

1196


Explain try...catch with sql server?

1027