dbTalk Databases Forums  

INSTR and string length problem

comp.databases.oracle comp.databases.oracle


Discuss INSTR and string length problem in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ashley Morgan
 
Posts: n/a

Default INSTR and string length problem - 11-14-2005 , 09:50 AM






Hi,

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".

Can somebody please explain why this is happening and how I can resolve it ?

Thanks in Advance.



Reply With Quote
  #2  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: INSTR and string length problem - 11-14-2005 , 01:57 PM






Ashley Morgan wrote:
Quote:
Hi,

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".

Can somebody please explain why this is happening and how I can resolve it ?

Thanks in Advance.


SQL Reference manual, Oracle Data Types:
look up the restrictions on varchar2.

And this ng is dead - post in cdo.server, or cdo misc

--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.