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 do u move the code from development to production?

6 Answers  


What are the mapping parameters and mapping variables?

0 Answers   Informatica,


if the session continuous run what can we do. means shall we stop the session or abort session. what is the correct reasion. why this situation occurs

1 Answers  


How to create a mapping ? id date 101 2/4/2008 101 4/4/2008 102 6/4/2008 102 4/4/2008 103 4/4/2008 104 8/4/2008 O/P - shud have only one id with the min(date) How to create a mapping for this

9 Answers   Deloitte,


how can we perform incremental aggregation?explain with example?

9 Answers   IBM, TCS,


what is the -ve test case in your project.

0 Answers   CTS, TCS,


What is the advantage of persistent cache? When it should be used.

1 Answers   Wipro,


what is the main advantage of unconnected lookup

2 Answers   Cap Gemini,


what is granularity,what type of granularity we will take in fact tables either lowlevel or highlevel,if two tables having same granularity that is posiable or not

0 Answers  


hi, as al you know, we can set the option in session level as all rows treat as like insert,update etc., And also we have update strategy for flaging records as insert,update etc.. then when we will go for above options and what is the difference.. explain..

1 Answers   Wipro,


Tell me about your experience in informatica? what is best mark you can give yourself? How to answer this question?

0 Answers   HCL,


what is the exact meaning of domain?

3 Answers  


Categories