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?

Madhu Ravipati

Sep 8th, 2006

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.

Preethi Kanjikar

Oct 16th, 2006

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

Sam

Dec 22nd, 2006

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.

neela manohar

Jan 8th, 2007

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

swathi

Bhavani

Dec 27th, 2015

Hi All,

I will give an brief description about, why we are using temporary tables based on my practical experience I had correct me if I am wrong.

In Oracle Apps we have inbuilt APIs, From flat files we receive the data from client. Data sometimes may mismatch or incorrect data will get. So, to avoid such confusions, before run the APIs, we had to validate the data to move to staging or temporary tables for each run.

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.