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 the database you used in your final year project?

1099


What is set nocount on?

993


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

1177


What are the different editions available in sql server 2000?

1111


You have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem?

1059


What is a view and what are its advantages?

1167


Do you know how to implement service broker?

965


Is sql server 2016 free?

977


What is the difference between TRUNCATE and DROP?

1187


Differentiate between sql temp table vs table variable?

927


Difference between LEN() and DATALENGTH() in sql server ?

1170


How to write a query with a right outer join in ms sql server?

960


What is partition index in sql server?

1171


Explain about system database?

1110


Do you know what is replace and stuff function in sql server?

1082