Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Modifying Data inserted with SQL Loader

Modifying Data inserted with SQL Loader

From: pstryjew <pstryjew_at_att.net>
Date: 24 Apr 2002 12:03:38 -0700
Message-ID: <29f8354.0204241103.7f835dc7@posting.google.com>


Hello,

I have data in a flat file that I am using SQL Loader to load into a table.

I'm adding an offset to one of the values and that is straight forward in the control file. I would also like to modify another value based on it's current value (if-then or look up table). I can't find out if this is possible.

Control file:

mynumber "TO_NUMBER(:mynumber) + offset", othernumber [if 4 insert 12, if 5 insert 15, etc]

Pete Stryjewski
pstryjew at att dot net Received on Wed Apr 24 2002 - 14:03:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US