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
Clarify the utilization of aggregator cache record?
Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar usa 20 kumar Tokyo I want records in target like shown below No name addr1 addr2 10 manoj mum dilhi 20 kumar usa Tokyo If it is reverse we can do this by using Normalizer transformation by setting occurance as 2. Somebody will say use denoralization technique. But as of my knowledge I couldn’t find any denormalization technique. Is there any concept like that? I tryid this seriously but I could find any idea to implement this. Can any one please help me ? Advance Thanks
What are multi-group transformations?
What you know about transaction control transformation?
How we can create indexes after completing the loan process?
generate date / time dimension in informatica
What is difference between a gateway node and worker node?
Explain what transformation and how many are there in informatica?
what is the complex transformation you used in informatica
What are the main issues while working with flat files as source and as targets ?
What is joiner change?
What is the format of informatica objects in a repository? What are the databases that informatica can connect to windows?
What do you understand by term role-playing dimension?
What are the tasks that can be performed using sq?
How we can create indexes after completing the load process?