niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle » Tools
SQL LOADER and datatype float
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
brandtner2000@gmx.de
*nix forums beginner


Joined: 13 Mar 2005
Posts: 1

PostPosted: Sun Mar 13, 2005 8:19 pm    Post subject: Re: SQL LOADER and datatype float Reply with quote

you have to try

TO_NUMBER(TO_CHAR(Mad, '999.999EEEE'),'999.999EEEE')

This should be work.
Back to top
Ina Schmitz
*nix forums beginner


Joined: 04 May 2005
Posts: 39

PostPosted: Fri Mar 11, 2005 8:09 am    Post subject: SQL LOADER and datatype float Reply with quote

Hi all,

I have a table with a column x of type float(126).
For my data, I have a comma separated values file. In this file, for column
x there occur values like 345.4667848 or also 345.466E-02.
In my ctl-file for the SQL LOADER, I wrote:
x CHAR "TO_NUMBER(Mad, '999.9999999') for this column.

The first number 345.4667848 then is accepted, but the second number
345.466E-02 with the E in it is rejected. How can I change it so that SQL
LOADER loads BOTH numbers?

Thanks a lot for help!

Cheers,
Ina
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 1:36 am | All times are GMT
navigation Forum index » Databases » Oracle » Tools
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts SQL*Loader - OPTIONALLY ENCLOSED BY '"' CatInTheHat Oracle 0 Tue Feb 06, 2007 3:08 pm
No new posts Adaptive datatype (or so...) Whatever5k@web.de C 10 Thu Jul 20, 2006 4:46 pm
No new posts Is there a boot loader that can load a file a start up an... christopher.mcrorie@gmail Setup 1 Thu Jul 20, 2006 2:57 am
No new posts loading 2 files into oracle using sql loader pawan_test Server 2 Sun Jul 16, 2006 8:49 pm
No new posts loading 2 files into oracle using sql loader pawan_test Server 2 Sun Jul 16, 2006 8:48 pm

NFL Talk Football Forums | Online Advertising | Carrinhos para bebĂȘ | Blog5 Game Cheats | Home Equity Loan
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1238s ][ Queries: 20 (0.0618s) ][ GZIP on - Debug on ]