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

1) Delete create log files when it is deleted and occupy
more space of memory

Whereas Truncate will not create any log files and hence
much faster than delete.

2) Delete can be roll back whereas Truncate is autocommit.

3) When there is foreign key constraint even though there
is no data in child table Truncate cannot be done. only
when the constraint is dropped truncate can be executed.

Whereas though we have foreign key constraints if the child
table is deleted, then parent table can be deleted.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is autocashrule set? : oracle accounts receivable

1495


What is the mandatory setup in cyclecount ?

2805


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

2377


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

1830


What are different types of transactions in ar? : oracle accounts receivable

1367


Explain the difference between $ORACLE_HOME and $ORACLE_BASE.

7766


What are the advantages of operating a database in ARCHIVELOG mode over operating it in NO ARCHIVELOG mode in Oracle?

1203


Could you please let me know the interfaces in OM / FA??

2337


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

2375


HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..

2561


I need a Technical evaluation between Oracle and SAP ? please do a need ful.

2037


we have 10 concurrent programs under one request group out of 10 ccps all users submitting only 9 programs from srs window remaining one ccp for specific user how can it possible send me answer asap.

2587


Tell me about entire study of finacle software as soon as possible? give me the idea about questions which coulb be asked in interview of pnb it officers?

8010


I would like to study certification course in Data base adminidtrator then where would i go to study this course?

2246


3. Steps in UAT?

2473