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 / tamilarasan sivaraj

DROP:It is used to delete the all structure of the db and
also we cant rollback.
EXAMPLE:Drop table student;
It will show error.No table found.

TRUNCATE:It is used to delete the table of the data and
structure remains,we can able to rollback.
EXAMPLE:truncate table student;

No records found;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain acid?

1083


How to check if stored procedure is running in sql server?

1061


What is the use of for clause?

1118


Can we use max in where clause?

925


What is shared lock?

904


do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

988


What does REVERT do in SQL Server 2005?

962


What is inline table-value user-defined function?

1115


What is the difference between function and stored procedure in sql server?

1073


What is a document index?

1028


What do you understand by the data quality services in sql server?

948


What are drillthrough reports?

155


How can I create a new template for import ? : sql server management studio

1073


How to use clusters?

946


What do you mean by an execution plan? How would you view it?

914