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

Delete:
In delete statement we can use conditions
we can roll back
we can delete parent and child table rows also
it will activate in triggers
it can be slow compare to truncate.
Truncate:
In truncate statement we cant use conditons.
we cant roll back
we can delete child table rows only.
it will not activate in triggers.
it can be fast compare to delete.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

as a technical developer in oracle applications which type errors feced in your experience sofar

2331


What view would you use to determine free space in a tablespace?

2224


My requirement is like in database some defects are present and i need to clean them.To be brief for example every employee should have active assigments.So for those records which are not having status as active or null ,i need to update the roecords using API with the correct value. Client will provide a flat file for the records whch are defected.So i need to run the API for those records (flat file)and update the data in database. So my question is how to handle this requirement.Is there any existing API for this purpose?If yes then please send me the NAME. How to update the records in the database using flatfile. Any pointer will be appreciated.Thanks in advance.

2197


How to clone the database using RMAN back

2239


Explain the process of recievables in oracle financials. : oracle accounts receivable

1155


now iam working as an hr executive in hyderabad i would like to learn oracle hrms kindly suggest me some good institutes in hyderabd

2297


Differentiate between unidentified receipt, unapplied receipts and on account receipts? : oracle accounts receivable

1776


PURCHASE ORDER TO PAYABLES WHAT ENTREIS WILL HAVE

2223


what are all the conversion and interfaces in GL,AP,AR,HRMS with example? otherwise send send link for these

2099


How many segment are present in Oracle Manufacturing

2320


Is there any link between pr form(purchse requisition)and po form(purchase order)

2727


WHAT ALL DIFFERENT OPTIONS PRESENT IN WEBI?

2955


CAN AUNIVERSE BE LINKED TO MORE THAN ONE DATASOURCE?

2073


Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also

2265


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

5331