How to add extended values in control file [message #330198] |
Fri, 27 June 2008 21:18 |
deviji
Messages: 23 Registered: November 2007
|
Junior Member |
|
|
Dear Techies,
I hava a doubt like,
I have a flat file and i want to upload that using sqlldr to Oracle 9i.
If the value of flat file on one column is say 'SEL' then it should be loaded into the destination file like 'SELECTION'
What kind of changes i should do in control file?
Thanks in advance,
regards
viji
|
|
|
|
|
|
Re: How to add extended values in control file [message #330269 is a reply to message #330246] |
Sat, 28 June 2008 09:23 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
If I understand you, if the value is SEL then you want to insert SELECTION in the table; if the value is RET you want to insert RETENSION.
What do you want for other values?
You can use DECODE function in your control file.
Regards
Michel
|
|
|