Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

oracle sql loader - datatype

Status
Not open for further replies.

tshen

MIS
Mar 18, 2002
1
0
0
US
We tried to sql*loader to upload a flat file onto Oracle 9i.
It seems all the fileds on the flat file with a data type as pack decimal field got kick out? is there way to resolve this? Thanks
 
You say you were trying to upload a 'flat file' with sql loader. Be careful with decimal numbers, if they are in text format (like 1234.56) you have to use DECIMAL EXTERNAL.
Hope this works for you.
 
try this:

load data
characterset 'WE8EBCDIC500'
infile 'file.dat'
into table schema.table
(
packed_decimal_field DECIMAL(11,2)
)

It works in loading AS400 file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top