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
What is a stored procedure transformation?
Do you find any difficulty while working with flat files as source and target?
Briefly describe lookup transformation?
complex mapping ur project u r invlve can u explain and give real time example give me ?
How do you remove duplicate records in informatica? And how many ways are there to do it?
What are the different clients of powercenter?
how lookup transformation is made active in new versions... When to use connected and when to use unconnected lookup and why? which is good for session performance. How to make lookup persistent and how to remove stale data from that lookup. how commit works - when we stop or abort data. Explain in both cases. What is factless fact table and have you ever used it in real time scenarios.
What is the reusable transformation?
How to create different types of slowly changing dimensions (SCD) in informatica using the mapping wizard?
What are the differences between oltp and olap?
what is INFORMATICA TESTING process
What are the prerequisite tasks to achieve the session partition?
what are the fact table & dimensional table in pharmaceutical and hospotal related products???
Can you use flat files in Mapplets.
Describe the scenarios where we go for joiner transformation instead of source qualifier transformation?