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 DELETE, TRUNCATE, and DROP?

Answer Posted / hr@tgksolutions.com

• DELETE:
o Deletes specific rows from a table.
o Can have a WHERE clause.
o DML command (can be rolled back).
• TRUNCATE:
o Deletes all rows from a table.
o Faster than DELETE (does not log individual row deletions).
o DDL command (cannot be rolled back).
• DROP:
o Removes a table entirely (schema + data).
o DDL command.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is all the data on the internet stored?

1056


how to calculate expressions with sql statements? : Sql dba

1088


What is t sql used for?

1054


Give the order of sql select?

1179


What is coalesce in sql?

1127


how many groups of data types? : Sql dba

1070


Why do we create stored procedures & functions in pl/sql and how are they different?

990


What is localdb mssqllocaldb?

1106


Why do we need view in sql?

1032


Is sql considered coding?

1085


The select into statement is most often used to create backup copies of tables or for archiving records?

1115


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

1097


What is sql deadlock?

1211


what is sql? : Sql dba

1064


What is crud stand for?

1046