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

How would you add a section to a table?

1030


What’s the distinction between dropping a info and taking a info offline?

1036


tell me what are the steps you will take to improve performance of a poor performing query? : Sql server database administration

1018


How do I create a stored procedure in dbml?

1001


Define Wed Edition in SQL Azure?

100


Define inner join? Explain with an example?

994


What are triggers? How do you invoke a trigger on demand?

1314


what is denormalization and when would you go for it? : Sql server database administration

1171


What is an expression in ms sql server?

1070


Explain about protocol layer present in SQL server?

1197


What will be the maximum number of index per table?

1000


What is primary key, unique key, and foreign key?

971


Can you explain the disadvantages/limitation of the cursor?

983


How many clustered indexes there can be on table ?

1029


What are partitioned views?

987