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 / anil

Delete Commands:

it is dml statement
you can specify delete command with critery (where
condition)

syntax: Delete * from tablename where condition

Truncate Command:

it is DDL statement
you can not specify critery with truncate table

syntax: truncate table tablename

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is right outer join in sql server joins?

1130


How many types of stored procedures are there in sql server?

963


What are the disadvantages of using the stored procedures?

1028


How to send email from database?

959


‘Order by’ is not allowed in a view how can you sort information from a view?

1030


What are diverse clauses that form a part of sql?

1027


Explain about thread and memory management process of SQL?

930


what are defaults? : Sql server database administration

1025


What is the maximum number of index per table?

1023


What is table constraint?

938


What is sql injection? How to protect against sql injection attack?

952


What is a schema in ms sql server 2005?

922


How can we determine what objects a user-defined function depends upon?

961


How to add the custom code in Report?

120


What are the dmvs? : sql server database administration

1011