How to move the data from one flatfile to multiple staging
tables?give me some examples?
for example in po interface one flat file is there and
multiple staging tables are there how can move it?please
give me answer for this question?
Answer / Vipin Kumar Divakar
In Oracle, you can use SQL*Loader to load a flat file into multiple staging tables. Here's an example:
First, create the control file with the following structure:
```
OPTIONS (SKIP=1)
LOAD DATA
INFILE '<flat_file_location>'
APPEND
INTO TABLE <staging_table_1>
FIELDS TERMINATED BY ','
(
field1 CHARACTER SET ascii,
field2 CHARACTER SET ascii,
...
)
LOAD DATA
INFILE '<flat_file_location>'
APPEND
INTO TABLE <staging_table_2>
FIELDS TERMINATED BY ','
(
field1 CHARACTER SET ascii,
field2 CHARACTER SET ascii,
...
)
...
```
Replace `<flat_file_location>` with the location of your flat file and add more control statements for each staging table you want to load data into. Then run the SQL*Loader using the control file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the difference between a hot backup and a cold backup and the benefits associated with each
Differentiate between writeoff and receipt writeoff. : oracle accounts receivable
What are the mandatory setups in setting up a PO in oracle
What is $FLEX$ and $PROFILES$?
How to update the simple views?give me example?if the table having 100 records and created a view on this table. if i can update the table then how to update the views
1. What is PO rate variance gain and loss?
Is there any link between pr form(purchse requisition)and po form(purchase order)
How many segment are present in Oracle Manufacturing
what is correlated subquery
what are the advantages of Oracle over other databases..? please give me reply...
how to write customizations in po
which gives Oracle R12 Financial training in delhi please give me answer its urgent?