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

drop will remove the entire table from the database and can
be rollbacked.

truncate will remove the content of the table and it cannot
be rollbacked.

truncate is little bit faster than drop.

Is This Answer Correct ?    4 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is local temp table?

933


What are different types of statement?

990


What is sql injection? How to protect against sql injection attack?

980


What are the advantages of the mirroring?

1058


Explain datetime2 data type in sal server 2008?

896


What is a derived table?

907


What should be the fill factor for indexes created on tables? : sql server database administration

1119


What do you know about normalization and de- normalization?

906


Explain in brief about Microsoft SQL server?

1065


What is usually the first word in a sql query?

1106


How to create a view with data from multiple tables?

996


Why use triggers?

996


How to generate random numbers with the rand() function in ms sql server?

1121


Where is trigger in sql server?

1026


What is lock escalation and what is its purpose?

962