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

Define synonym?

1154


How to enable/disable indexes?

1042


Is it possible to have clustered index on separate drive from original table location?

944


How to resolve the orphan use problem? : sql server security

996


What stored procedure would you use to view lock information?

947


How to change parameter value inside the report?

162


Define ACID properties in a Database?

1042


Does group by sort data?

882


How do indexes help, types?

937


What is the name of reporting services config file and what’s it’s used for?

144


Explain about merge replications?

995


How to verify a login name with sqlcmd tool?

1194


What is the difference between indexing and hashing?

1142


Can we do dml on views?

939


What is bookmark link in ssrs?

244