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 / vishant kakwani

drop is delete the data with table and if id is used as autoincrement then id can't be started with 1.
Truncate is delete the only data table as it is and autoincrement id will started with 1 every time if you truncate the table.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain logical operators in sql server?

1032


How to create a dynamic cursor with the dynamic option?

969


What are different types of views?

892


Name 3 ways to get an accurate count of the number of records in a table?

965


What is the definition for sql server 2000?

1040


you added a row to a view, but the row is not shown on the view. Explain how this can happen, and how you can remedy the situation

893


What is coalesce in sql server?

993


explain different types of cursors? : Sql server database administration

1024


Explain about sql server login?

1027


what is blocking? : Sql server database administration

981


what is a transaction and what are acid properties? : Sql server database administration

963


Can we deploy SSRS reports on our personal website?

162


What will be query used to get the list of triggers in a database?

954


What are the properties and different types of sub-queries?

958


What are different backups available in sql server?

995