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
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 |
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 |
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 |
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 |
How can i explain my project architecture in interview..? in Igate asked me tell me your project flow from source to target..?
1 Answers Ameri Group, CGI, CTS, HCL, iGate, TCS, Wipro,
What is the procedure for creating independent data marts from informatica 7.1?
how to remove staging area
What is factless fact schema?
How to update or delete the rows in a target, which do not have key fields?
There are 4 flat files with number of records as indicated below. Which files should be picked first for joining using joiners so as to get best performance. File A - 1000 records File B - 100 records File c - 10000 records File D - 10 records Please explain. Thanks and Regards,
Want to know about Training Centres for Informatica, Cognos and ETL Softwares in Mumbai, India.
performance tuning of Informatica
Source table ------------- ID NAME --- ------ 101 PANKAJ NULL KUMAR NULL MATHUR 102 JYOTI NULL SAXENA 103 SACHIN NULL TENDULKAR TARGET TABLE ------------- ID NAME --- ------- 101 PANKAJ KUMAR MATHUR 102 JYOTI SAXENA 103 SACHIN TENDULKAR IN ORACLE & INFORMATICA LEVEL HOW TO ACHIVE
In informatics server which files are created during the session rums?
My source table look like ID Name Location Salary 1 ran NULL NULL 1 NULL DELHI NULL 1 NULL NULL 1000 I want my output to look like ID Name Location Salary 1 ran Delhi 1000 What should be my approach to design a informatica mapping. Assuming my source is flat file not a Relation table so i cant use SQL.
What is enterprise data warehousing?