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 / suman kalyan betal

DROP means it's drop the table(with rows,Pk_key, Fk_key and
indexces)from the database.
TRUNCATE do the same as DROP but maintain the Pk_key,
Fk_key and indexces declaration only remove rows.

---by suman kalyan betal (suman_kal@rediffmail.com)

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to truncate the log in sql server 2012? : sql server database administration

1199


What is the use of =,==,=== operators?

957


How you can get the list of largest tables in a database?

943


How can I check if a view exists in a sql server database?

982


Is sql server free?

870


How to execute multiple stored procedures at one time in sql server?

942


What is row_number () and partition by in sql server?

1003


What is surrogate key? : sql server analysis services, ssas

1053


How to achieve Paging of records in SQL SERVER?

1032


Explain syntax for dropping triggers?

885


Can I use sql azure as a backup with log shipping or database mirroring?

156


How does recursive cte works in sql server?

941


What does executeupdate return?

927


What is log shipping? Can we do logshipping with SQL Server 7.0 ?

934


What happens to a statement batch if there is a compilation error?

897