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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the types of transformations?

1070


Suppose we have a source qualifier transformation that populates two target tables. How do you ensure tgt2 is loaded after tgt1?

1092


What is data movement mode in Informatica and difference between them?

1139


What is the difference between informatics 7x and 8x and what is latest version?

1085


How to call shell scripts from informatica?

1001


Is it possible to define a single node as a Gateway node as well as worker node?

1123


What are the types of lookup transformation?

1081


if i hv 6 table as source table but can i make 12 as a dim table and 6 as fact table belongs to that src table.

2201


Can you generate sequence numbers without using the sequence generator transformation?

1124


have u done any performance tuning? how u ll do?

2299


What happens when a session fails and you click on recover?

1120


How does a rank transform differ from aggregator transform functions max and min?

1208


I have a mapping loading 100 records and it failed on 20th record. how to recover it without changing anything.(in prod where we don't have any access).. (the session should should start from 21 record)

1628


What is a sequence generator transformation?

1023


Explain what are the different types of transformation available in informatica. And what are the mostly used ones among them?

1051