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...


wt is the difference between truncate and delete in which
situation u use delete and truncate in real time..

Answers were Sorted based on User's Feedback



wt is the difference between truncate and delete in which situation u use delete and truncate in r..

Answer / mukesh

TRUNCATE removes all rows from a table.The operation cannot
be rolled back and no triggers will be fired. As such,
TRUCATE is faster and doesn't use as much undo space as a
DELETE.

The DELETE command is used to remove rows from a table. A
WHERE clause can be used to only remove some rows. If no
WHERE condition is specified, all rows will be removed.
After performing a DELETE operation you need to COMMIT or
ROLLBACK the transaction to make the change permanent or to
undo it. Note that this operation will cause all DELETE
triggers on the table to fire.

TRUNCATE are DDL commands, whereas DELETE is a DML command.
As such, DELETE operations can be rolled back (undone),
while DROP and TRUNCATE operations cannot be rolled back.

Is This Answer Correct ?    20 Yes 1 No

wt is the difference between truncate and delete in which situation u use delete and truncate in r..

Answer / siva

In addition to Mukesh's answer, the truncate and delele
commands can also used on partitions in Oracle to truncate
or delete the records from the particular partition..

Is This Answer Correct ?    2 Yes 1 No

wt is the difference between truncate and delete in which situation u use delete and truncate in r..

Answer / babusuresh159

hi mukesh and siva thanks for posting answers...
in real time is dr any specif sitchuation to use truncate or delete

Is This Answer Correct ?    0 Yes 0 No

wt is the difference between truncate and delete in which situation u use delete and truncate in r..

Answer / bose3508

After completion of history extraction from database you
may go for truncate.To cleanse the oltp database.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

How to do Integration testing in Informatica?

5 Answers   Intelligroup,


Q. We are the loading the table on daily basis it is incremental loading. and A person rahul slary was 10000, so if i check before run my salalr is 10000. but toay there is update that my sal is 15k but that will come to know after the load. braod crtiteria is we donot want to show downstream teams partial updated data. need aproad as etl developer

0 Answers  


Q. source having mutile depatment of data, dept1, dept2 ....dept10 today. we have mutilple depts in source, we need to generate dept1, dept2 and multile files in target side. today we have 10 dept which have 10 files, tommorow we have only 4 dept and 4 files, dayafter tommorow we have only 6 all the number of files in the targete file directory it's always dynamic. how can acheive it.

0 Answers  


A Flat file located in unix source folder. data transfer every day 8 am. can ask 5 question for above scenario validation. recently i have faced this question.

1 Answers   TATA,


I am getting five sources in a day and i donot know when i get them. i need to load data into the target and run the session. but here i can't keep the session in running or can't stop the session. plz help me

6 Answers   Mastek,


What is persistent lookup cache?

0 Answers  


Explain pushdown optimization $pushdownconfig parameter - informatica

0 Answers   Informatica,


Q. Informatica workflow, it is running beyond two hours for last couple of runs, normally it completed less then 30 min., hardly 40 min, last couple of run crossing 2 hours and more in that workflow only one session. now it is aasign to you that how to idenitfy the performance issue of the sesion of production.

0 Answers  


What is the difference between Normal load and Bulk load?

5 Answers  


Without using Lookup & Sequence Generator, How to generate Sequence?

5 Answers   CTS,


What are the data movement modes in informatcia?

1 Answers  


Partition, what happens if the specified key range is shorter and longer

0 Answers   Cap Gemini,


Categories