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 TRUNCATE and DELETE command
in SQL

Answer Posted / rams

TRUNCATE:
1. it is a DML command.
2. by using truncate we can remove data in a table
permanantly.
3. we cant roll back the data.
4. it is faster than delete command.

DELETE:
1. it is a DDL command
2. by using delete command we can remove data in a table,
but we can rollback the data.
4. it is slower than the truncate command.

Is This Answer Correct ?    13 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we modify approve purchase order?if yes what is navigation?

2010


What is the difference between recovery and restoring of the oracle database?

1222


What is autocashrule set? : oracle accounts receivable

1404


HOW TO SPOT AHIERARCHY?

2296


What is an Oracle database Partial Backup?

1160


Differentiate between writeoff and receipt writeoff. : oracle accounts receivable

1346


What is Tax Categories?

2112


What are the different tools available for hot backups in Oracle? Is it preferable to take it manually all the time or it depends on the size of the database?

1349


Differentiate between standard remittance and bills receivable remittance : oracle accounts receivable

1145


key flexfield structure

2178


WHAT ALL DIFFERENT OPTIONS PRESENT IN WEBI?

2955


Difference between transaction type and transaction sources. : oracle accounts receivable

1032


What is auto accounting what are the steps for setting up auto accounting? : oracle accounts receivable

1196


What do you mean by Oracle MEDIA RECOVERY?

1226


What is the sql query to find the employee who has Nth maximum salary?

5331