GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle Apps  >  Basics
Go To First  |  Previous Question  |  Next Question 
 Basics  |  Question 83 of 98    Print  
What is the need of a staging table or temporary table in between flat file and standard interface table while transferring data from flat file to interface table?

  
Total Answers and Comments: 5 Last Update: January 08, 2007     Asked by: reddy 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 08, 2006 03:34:53   #1  
Madhu Ravipati        

RE: what is the need of a staging table or temporary ...
Once we have data in the interface table we are simply running the standard program and it automatically send data to the base table so in this time we can't do any validations in in between the interface table and base table that'y we use staging table to validate the data before putting into the interface table.Finally the staging tables are used to load the data from legacy systems what ever the client provided .after that we write a validation program to send proper valid data to interface table.
 
Is this answer useful? Yes | No
September 10, 2006 09:03:40   #2  
vasudeva123 Member Since: September 2006   Contribution: 2    

RE: what is the need of a staging table or temporary ...

Hai Madhu

thank you

Please send some examples how to Validate in GL interface

What is Validation?


 
Is this answer useful? Yes | No
October 16, 2006 00:25:40   #3  
Preethi Kanjikar        

RE: what is the need of a staging table or temporary ...

Hi

Before the data gets inserted in the actual database table the data gets validated...

by validation i mean there are two files created called bad file and discarded file......first validation occurs in the bad file and second in the discarded file....data in the discarded file is discarded and finally the data is entered in the database table......

Please correct me if I'm wrong....since i'm a beginner .....i may learn more if you correct my mistakes...

thanks

Preethi


 
Is this answer useful? Yes | No
December 22, 2006 11:50:59   #4  
Sam        

RE: What is the need of a staging table or temporary ...

Hi

the basic need for a staging table is to serve as another step before loading into the interface tables after which we run oracle standard APIs to load them into the bas tables sometimes even after running APIS we may need some concurrent programmes to be run so for that data to be reflected across the base tables. The staging area serves for updates like date formats (MM-DD-RRRR) and other such critical data format changes neede before we load into interface tables and then running APIS in them . As explained above a bad file if formed while loading if some data format is not in consonance with the API or base file and hence the whole API/validation fails In some case though it creates a corrupt log file which also indicates the failure of the validation.

Plz correct me if I am wrong.


 
Is this answer useful? Yes | No
January 08, 2007 00:26:24   #5  
neela manohar        

RE: What is the need of a staging table or temporary ...

these staging tables are used to hold temporary data i.e data with in the temporary table will be automatically get deleted when we issue commit or when we close oracle session that depends on how we create table

eg: create global temporary table eg1(name varchar2(20) num number(10)) on commit delete rows;

this will delete the rows on temporary table when we issue a commit at sql prompt.

moreover these staging tables are used to do some primray validations before inserting data into actual tables.

so we need data to be erased after inserting into acutal tables. so we go for staging tables.

we can use normal tables also as staging table but we need to truncate table for each insert. thats why we go for temporary tables.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape