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

• 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

Which certification is best for sql?

1039


How do you modify a table in sql?

1161


What is difference between cursor and trigger?

1129


What is the function that is used to transfer a pl/sql table log to a database table?

1066


Which command is used to call a stored procedure?

1049


What are schema-level triggers?

1149


How do I view stored procedures?

1022


How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000

2203


What is sql*loader and what is it used for? : aql loader

1246


Which join is like an inner join?

1091


Why indexing is needed?

1043


What is a sql trace file?

1085


What are packages in pl sql and also explain its advantages?

1120


What is function and procedure?

1074


What do you understand by exception handling in pl/sql?

1085