Isn't there a way to convert a long to a varchar2, assuming
the long isn't over 32k or whatever the current limit is? You could
then convert the varchar2 to a number. Jim
Jim's right, as long as your LONG column contains less than 32k of information, you could select the LONG column in to a VARCHAR2 variable (of 32767 length) in PL/SQL and then perform an INSTR function on the VARCHAR2 column, searching for your to_char(NUMBER) column value. Nasty problem!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.