Link to home
Start Free TrialLog in
Avatar of mbergeby
mbergeby

asked on

Format Mask for numbers in SQLLoader

I need to give a format mask for numbers in sqlloader
The csv file is cvariable record length and variable column length

Is it possible and how do I do it
ASKER CERTIFIED SOLUTION
Avatar of Ora_Techie
Ora_Techie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mbergeby
mbergeby

ASKER

Hi Riazpk
I have to ask you to be more specific
Is this an example or is it something I have to do before the actual loading
Can I use the actual column name instead of INSERT_STMT as in your example

Additional Info
The numbers are in the format 123.456.789 and sometimes 123.456
Fields terminated by ;
Data in a separate file which is defined by the infile parameter
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes sure,

You will have to use your own column names and own function (to_number instead of upper).

That was just an example to show you that it works.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,
Any update on this? If your problem has been resolved, then please close this question.