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

Drop and Truncate commands both are DML commands.
If we use drop command it will deletes all the table data
as well as tablestructure.But if we use truncate command it
will deletes the table data only.

Is This Answer Correct ?    24 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of partition by in sql server?

933


How many clustered indexes there can be on table ?

1040


How to get a list of all tables with "sys.tables" view in ms sql server?

1036


Can truncate be rolled back?

950


Tell me what is log shipping?

978


What is the difference between drop table and truncate table?

925


Do you know what is raid and what are different types of raid configurations? : SQL Server Architecture

1067


What is global temp table?

1000


How do I delete a sql server database?

1046


What is indexed view? How to create it?

1014


Do you know what is difference between index seek vs. Index scan?

956


What do you mean by acid?

1002


What is side by side migration in sql server?

1110


What are the various Operating system files that every SQL server 2005 database has and what is the purpose.

1065


What is the difference between a local and a global temporary table?

1123