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

Truncate will fail if the concerned table has foreign key
constraints while delete doesnt.

Is This Answer Correct ?    15 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?

1053


What are the instances when triggers are appropriate?

926


What are user defined functions in ms sql server?

923


what is the difference between Tabular and Matrix report?

160


What is openxml in sql server?

1110


What are rest-style architecture's?

170


Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?

954


What is the primary use of the model database?

1018


How to create user messages with print statements in ms sql server?

940


How does Report Builder support Analysis Services cubes?

147


What are data regions?

120


What were the latest updates to SQL Azure service?

109


What is apply operator in sql?

957


Who is the owner of a schema in ms sql server?

1008


If we delete pack Spec what will be the status of pack Body ?

1431