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 about sql server login?

1092


Explain the third normal form(3nf)?

949


What is sql view?

1044


what does the automatic recovery do? : Sql server administration

1024


Explain the collation?

1115


How to create a user to access a database in ms sql server using "create user" statements?

956


How would you use user_constraints table in DB?

1008


How do you delete a trigger?

986


How to replace null values in expressions using isnull()?

1106


What is the log shipping?

1010


What are the advantages of using cte?

1019


Please explain that what are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture

980


Is it safe to delete log files?

920


How to restore performance issues and how to check?

2005


Explain use of expression builder.

1029