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

What is log shipping? Can we do logshipping with SQL Server 7.0 ?

996


Tell me what are the essential components of sql server service broker?

942


What is the difference between a function and a trigger?

1087


How to get a list of columns in a view using the "sp_columns" stored procedure?

1042


What are the components of dbms?

954


Explain the advantages of merge replication?

952


Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?

1194


What is the difference between the application object and session object?

1073


what are the reporting service components in SSRS?

163


Explain about analysis services?

1055


Is null in sql server?

995


What is a ddl statement?

919


What is the benefit of normalization?

1084


Write the queries for commands like Create Table, Delete table, Drop Table etc.

1116


What is attribute? : sql server analysis services, ssas

1023