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

Home -> Community -> Usenet -> c.d.o.server -> Re: InStr and Length Problem Ora-01460

Re: InStr and Length Problem Ora-01460

From: DA Morgan <damorgan_at_psoug.org>
Date: Mon, 14 Nov 2005 17:14:30 -0800
Message-ID: <1132017354.540368@yasure>


Ashley Morgan wrote:
> I wonder if anybody can help. I have a where clause which looks for a string
> pattern e.g.
>
> Select * from Table where Instr(String1,string2) > 0
>
> When String1 is less than 4000 characters the query works, when this is
> increased to 6000 characters, I get the error message "ORA-01460:
> unimplemented or unreasonable conversion requested". I have checked the
> reference data and it says that a string up 32767 charcaters can be handled
> in Pl/SQL.
>
> Can somebody please explain why this is happening and how I can resolve it ?
>
> Thanks in Advance.

 From your SQL statement it is impossible to tell what you are doing. But since no VARCHAR2 column exceeds 4000 bytes and you are claiming to be doing:

where Instr(String1,string2) > 0

You are either looking at a CLOB or something else is not as you have presented it. That is precisely what Oracle is trying to tell you in a more cryptic manner.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Mon Nov 14 2005 - 19:14:30 CST

Original text of this message

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