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 Drop and Truncate

Answer Posted / vipin narwal

HI TO ALL!!!


DROP: will lead in deleting the structure of the table
along with all associated constraints like Primary
Key,Foreign Key,..etc and also deallocates the memory
allocated to the Database objects..

Truncate: Truncate like Delete deletes the data associated
with a Database Object but structure remains there i.e,
memory remains allocated,...but faster than Delete...

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you migrate data from mssql server to azure?

165


Explain the types of indexes.

1143


How sql server executes a statement with nested subqueries?

979


How to convert numeric expression data types using the cast() function?

1023


What is the purpose of indexing?

1013


What is exclusive locks?

931


How to enter binary string literals in ms sql server?

1109


Explain the truncate command?

937


What is the difference between resultset and resultsetmetadata?

908


Does server sql treat char as a variable-length or fixed-length column?

963


Explain syntax for viewing trigger?

895


How to create sub reports?

236


How to use "begin ... End" statement structures in ms sql server?

983


What happens if you are trying to access a schema not owned by you?

930


What is row_number function?

958