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 / glibwaresoftsolutions

• 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

What is data type in database?

990


Does truncate require commit?

967


Is id a reserved word in sql?

1141


What is difference between sql and mysql?

1128


What do you mean by field in sql?

1075


What is procedure explain with program?

1015


What is rowid in sql?

980


how many values can the set function of mysql take? : Sql dba

984


how does a local variable is defined using t-sql? : Transact sql

1003


I need a function for a train ticket reservation please answer it thanks in advance

1024


Differentiate between syntax and runtime errors.

1181


What is the main difference between sql and pl/sql?

1094


how to use regular expression in pattern match conditions? : Sql dba

1028


what is a view? : Sql dba

1081


What are the differences between in and exists clause?

1111