Problem: data in a column of datatype 'long'
Date: Wed, 27 Jul 1994 10:29:09 GMT
Message-ID: <27JUL94.10290908_at_swdev.si.com>
Problem : Accessing values in a long data type column.
Hello out there in Oracle SqlPlus land:
I am : Tom Miheve
Smiths Industries
Grand Rapids, Michigan 49509
(616) 241-8292
miheve_tom_at_si.com
My envrionment is :
Sun Sparc10 running SunOS 4.1.3
I have a problem accessing data in a column of datatype 'long'.
The data in the long column looks like 'Table-name:345'
Here's how I did it when the column in question, cpo_comments, was NOT a
long data type.
request is a table
request_cpo_comments_temp is a table
The objective is to move
request_cpo_comments_temp(text_value) ===> request(cpo_comments).
The column request(cpo_comments) contains 'xxxxxxxxxxx:345' from a data load.
The '345' is needed to reference request_cpo_comments_temp(string_id).
This works.
However, when the column cpo_comments is a long data type, the function 'substr(a.cpo_comments,22,4)' fails.
Does anyone know how to reference data in a long data type using SQL*Plus or PL/SQL ?
Any ideas or hints would be appreciated very much. Received on Wed Jul 27 1994 - 12:29:09 CEST