Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: sql*loader problems SOLVED

Re: sql*loader problems SOLVED

From: Ron Rogers <RROGERS_at_galottery.org>
Date: Fri, 31 Aug 2001 09:21:32 -0700
Message-ID: <F001.0037F90F.20010831093038@fatcity.com>

Congrats on solving the problem. You hit the nail on the head by examining the data. It looks like the specs for the output or specs for the input were not accurate or provided.
Go TEAM.
ROR mª¿ªm

>>> lisa.koivu_at_efairfield.com 08/31/01 01:04PM >>>
In case you are interested...

I found out what the problem was.. my numbers were padded with SPACES. Freaking mainframe...

So here's how I solved it, after I dumped the whole thing in a VARCHAR2(4000) and substring'd it:

FPS_ACC_HK_POINTS1      POSITION(1281:1283)
                                        CHAR
                                        NULLIF FPS_ACC_HK_POINTS1=BLANKS
        

"TO_NUMBER(REPLACE(:FPS_ACC_HK_POINTS1, CHR(0)))", that should allow for me to post something off-topic next week!

Have a great weekend all

Lisa Koivu
Pc Breaker (I'm up to TWO!) and DBA
Ft. Lauderdale, FL, USA

GO VIKINGS !!! WOO HOO!

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ron Rogers
  INET: RROGERS_at_galottery.org

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Aug 31 2001 - 11:21:32 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US