You can drag a long directly into a varchar2(32767) in
pl/sql.  If the longs are larger than this, then you
need to use dbms_sql (or 3gl) to drag it out in
pieces.

hth
connor

 --- Alan Carbutt <[EMAIL PROTECTED]> wrote: > I'm
working with a program that accesses a table
> with a LONG datatype.  The 
> program was originally written to manipulate a
> VARCHAR2(60) with instr and 
> substr functions.  The language (SQR) allows me to
> dump the info into a variable 
> and supposedly work with it, but it won't compile. 
> Does anyone know of a work 
> around to dice up a LONG?
> TIA,
> -- 
> Alan Carbutt
> Applications Programmer
> Adams State College
> 719-587-7741
> [EMAIL PROTECTED]
> 
> 
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Alan Carbutt
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California        -- Public Internet
> access / Mailing Lists
>
--------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing). 

=====
Connor McDonald
http://www.oracledba.co.uk
http://www.oaktable.net

"Some days you're the pigeon, some days you're the statue"

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?Connor=20McDonald?=
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to