473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

INSTR and string length problem

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.
Nov 22 '05 #1
1 8681
Ashley Morgan wrote:
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...
Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: J. Muenchbourg | last post by:
I have a field name "tracks" of string data type that has multiple names in it (for example: calder delaware$ aqueduct ), and I want to check to see if this certain field has "delaware$" in it....
4
by: Graham Mattingley | last post by:
How do I use InStr to find the string d="1" I have tryed InStr(text,"d="1"") and it does not work I have tryed a few other variations and I cant get it to work Thanks
5
by: DTB | last post by:
I am trying to convert a complex function from Oracle to SQL Server and have come across Oracle's Instr() function. I see SQL Server has CHARINDEX() which is similar, however it does not provide...
4
by: Morten Snedker | last post by:
Scenario: From a given folder all files from all subdirs are read. These are dropped in a one-dimensional array - myArray. Once everything is in my array it is sorted and dropped in a listbox. ...
5
by: Claud Balls | last post by:
if I read the following into a variable: 010203 020103 030201 could I use something like instr(variable,/n & "02") to return the position where 02 starts the line?
4
by: Gordon | last post by:
Hi; I am trying to extract a substring using a combination of the mid() and Instr() i.e. aString = "Jones, Thomas R, Dr." hold = InStr(1, aString, " ," , 1) newString = Mid(aString, 1,...
12
by: rodchar | last post by:
hey all, i'm getting a result that i don't understand i have a string "test1, test2" If InStr("test1") and InStr("test2") Then 'Inside EndIf The inside is not running for some reason. Any...
1
by: Ashley Morgan | last post by:
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...
3
by: Alex Pavluck | last post by:
I have a date stored like this '2004 - 2006' and I use this code to get startyear and stopyear StartYear: Trim(Left(,InStr(,"-")-1)) StopYear: Trim(Right(,InStr(,"-")-1)) Is there a way to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.