Home » RDBMS Server » Server Utilities » Problems with data type during import
Problems with data type during import [message #70272] Fri, 17 May 2002 03:21 Go to next message
Jochen
Messages: 6
Registered: December 2000
Junior Member
Hi folks,

I'm trying to import weather data via sqlldr. The data type of the temperature column is set to NUMBER. The problem: all temperature values with an decimal point (1.2 or -1.2) get lost during import. I can only import integer values. What´s wrong. Please help.

Thanks in advance

Jochen
Re: Problems with data type during import [message #70296 is a reply to message #70272] Tue, 21 May 2002 07:40 Go to previous messageGo to next message
Grant
Messages: 578
Registered: January 2002
Senior Member
You need to create the column using NUMBER(p,s). Numbers having precision and scale. p ranges from 1 to 38. s ranges from -84 to 127. So if you created a number using NUMBER(9,2) it would hold 9 positions and two after the decimal.
Problem solved [message #70309 is a reply to message #70296] Thu, 23 May 2002 05:58 Go to previous message
Jochen
Messages: 6
Registered: December 2000
Junior Member
I have a German Oracle. I replaced the decimal point with a comma an the import worked out fine. Thanks for your commitment.

Jochen
Previous Topic: Re: Rman- Restore to a different host
Next Topic: exp/imp using Unix pipes across different hosts does not work
Goto Forum:
  


Current Time: Wed Apr 24 03:55:31 CDT 2024