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 normalization? What number of normalization shapes are there?

1159


Why truncate is ddl command?

1116


Which language is supported by sql server?

1066


What is filter index?

995


Define synonym?

1222


Why transaction is important?

1021


Which language rdl files made of?

141


What is the purpose of the tempdb database?

1046


What are examples of triggers?

1127


How do indexes help, types?

1013


Why do we need normalization?

977


What action plan is preferred if sql server is not responding?

1157


What is the difference between varchar and varchar types?

1121


What is public role in sql server?

1214


Can you explain about buffer cash and log cache in sql server?

998