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's the difference between DELETE TABLE and TRUNCATE
TABLE commands?

Answer Posted / ajay

DELETE Command
•It will delete record by record

•Execution is slow
•It is a logged command, so data
can be Restore after delete
•Condition can be applied with delete.
•It will fire trigger.

TRUNCATE Command
•It will delete all the records at the Same time.
•Execution is fast.
•It is not a logged command, so data can’t
be Restore after Truncate.
•Condition can’t be applied.
•It will not fire the trigger.

ajay.thomala@gmail.com

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration

887


Does sql server 2000 clustering support load balancing?

904


What is the difference between insensitive and scroll cursor?

1070


What do you understand by hotfixes and patches in sql server?

913


What are the advantages of the mirroring?

1013


What is use of except clause?

1036


What command is used to create a database in the sql server and how?

1112


What the different types of Replication and why are they used?

978


what is a join? : Sql server database administration

1125


What is sql injection? How to protect against sql injection attack?

941


What is the difference between cartesian product and cross join?

812


Create and insert into temp table in sql server?

977


Why do we use functions?

855


Explain the steps to create and execute a user-defined function in the sql server?

918


What is a data collection table?

943