SQL-Loader

From: carlos edis ciuffoli <ciuffoli_at_CS.ColoState.EDU>
Date: 29 Sep 92 17:26:21 GMT
Message-ID: <Sep29.172621.68343_at_yuma.ACNS.ColoState.EDU>


Have any one loaded negative integers from a file using SQl-loader before ? I have looked in the manual (SQL loader) and it does not talk much about negative integers. I have defined this field as :

create table ..
..
..

earn_amt number(7,2) ,
...
..

My ctl file looks like :

options (rows =100)
load data
infile ......
replace
reclen 173
into table ...
(
 ....
 ...
 earn_amt position (167-179) decimal external,

 ...
 ..
 . )


Here is what the data looks like

E001                  0246202401                         2401 03224746892093092093085                                     1783    A900105M1007420912 000.00 PCR000.00 000001338.89-                                       1930910719309207193093072402000000.000    000000258.41-X

I can't see anything wrong with the way I have things defined. However, I never have worked with this type of data.

I appreciate any help, thanks.

Cheers !


Carlo Ciufoli                       |Voice 303-491-6064
Computer Programmer                 |e-mail : ciuffoli_at_vienna.ir.colostate.edu
Budgets & Institutional Analysis    |       : ciuffoli_at_lamar.ColoState.edu
Colorado State University           |Disclaimer: my opinions are my own and not
Fort Collins,CO. 80525. Great U.S.A.|            of my employer.
-------------------------------------------------------------------------------
Received on Tue Sep 29 1992 - 18:26:21 CET

Original text of this message