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

Why cross join is used?

1077


How many types of triggers exist in pl/sql?

1073


Explain isolation levels. : Transact sql

1071


How do rank () and dense_rank () differ?

1046


What are all the common sql functions?

1030


What is sql dialect?

1120


give the syntax of grant and revoke commands? : Sql dba

1153


Can a primary key be a foreign key?

1022


Can we join more than 2 tables in sql?

1022


how to convert character strings to numeric values? : Sql dba

1107


what is msql? : Sql dba

989


Which is faster union or join?

972


What do you think about pl/sql?

1033


Why is sql better than hql?

993


How do you write a subquery?

1029