Your question:

> 
> Is their a length on decode statement??
> 

Yes there is, and I think it is about 2000. I ran into exactly that with
decode, and had to split the code into 2 decodes. Messy. Long time ago -
forgot the actual value at the ceiling.

peter
edinburgh
........

> -----Original Message-----
> From: Bob Metelsky [mailto:[EMAIL PROTECTED]]
> Sent: 10 June 2002 23:03
> To: Multiple recipients of list ORACLE-L
> Subject: Limit on length of decode arguments??
> 
> 
> Hello all
> 
>       In an effort to clean up data as I'm importing, I need to pass
> the bad data to decode. It seems onece I pass < 250 chars the 
> code fails
> with 
> SQL*Loader-350: Syntax error at line 93.
> Token longer than max allowable length of 258 chars
> 
> The articles on metalink hint on problems with the control 
> file, I think
> it's the *length* of argunets passed to decode
> 
> (:DEV_DATE 'No Mass'),
> TO_DATE('06/11/1958','mm/dd/yyyy'),TRIM('12/31/200312/31/2003'
> ),TO_DATE(
> '12/31/2003', 'mm/dd/yyyy'),'02/30/2003',TO_DATE('2/28/2003',
> 'mm/dd/yyyy')
> 
> 
> As soon as I add another comparison the code fails
> 
> Is their a length on decode statement??
> 
> Thanks
> Bob
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Bob Metelsky
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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).
> 


*********************************************************************
This  e-mail   message,  and  any  files  transmitted   with  it, are
confidential  and intended  solely for the  use of the  addressee. If
this message was not addressed to  you, you have received it in error
and any  copying,  distribution  or  other use  of any part  of it is
strictly prohibited. Any views or opinions presented are solely those
of the sender and do not  necessarily represent  those of the British
Geological  Survey. The  security of e-mail  communication  cannot be
guaranteed and the BGS  accepts no liability  for claims arising as a
result of the use of this medium to  transmit messages from or to the
BGS. The BGS cannot accept any responsibility  for viruses, so please
scan all attachments.                            http://www.bgs.ac.uk
*********************************************************************

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Robson, Peter
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to