Re: SQL*Loader problem
From: Bruno Thomas <bthomas_at_teaser.fr>
Date: 1996/09/20
Message-ID: <01bba72a$cfccef80$LocalHost_at_bthomas>#1/1
Date: 1996/09/20
Message-ID: <01bba72a$cfccef80$LocalHost_at_bthomas>#1/1
Having trouble loading data into an oracle 7.1 db with SQLLOAD.
The datafile to be loaded have a field with a numerical value which has 1 decimal (definition in oracle table: NUMBER(4, 1) ).
In the datafile, the value is written in character form:
0110
which is the value 11.0.
How can I write the controlfile for SQLLOAD to make SQLLOAD understand that the last character in this field is a decimal ?
Hello Jan
In your control file, you have to put :
...,
col_name POSITION(begin:end) CHAR "col_name/10",
...,
-- email 'bthomas_at_teaser.fr'Received on Fri Sep 20 1996 - 00:00:00 CEST