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 / ferolin j

DROP TABLE- all the relationships with other tables will
no longer be valid, the integrity constraints will be
dropped, grant or access privileges on the table will also
be dropped, if want use the table again it has to be
recreated with the integrity constraints, access privileges
and the relationships with other tables should be
established again.

TRUNCATE TABLE- the table structure remains the same, ONLY
deletes the data.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to connect Azure federated root database and apply federation in entity framework?

107


You notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it?

1069


What are logical/boolean operations in ms sql server?

978


Can a cursor be updated? If yes, how you can protect which columns are updated?

1030


why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it? : Sql server administration

976


What are exact numeric data types in ms sql server?

988


What is difference between count (*) and count 1?

865


What are the properties of the transaction?

968


what types of replication are supported in sql server? : Sql server database administration

954


Introduction of rollup clause using sum and group by clause?

899


How to populate a table in sql server?

892


What is dbcc?

1082


Where the sql logs gets stored? : sql server database administration

915


What is the difference between Stored Procedures and triggers?

1034


How to delete exactly duplicate records from a table?

1007