Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: urgent???????

Re: urgent???????

From: William Beilstein <BeilstWH_at_obg.com>
Date: Mon, 26 Jun 2000 08:38:25 -0400
Message-Id: <10540.110399@fatcity.com>


Why don't you use the select string
declare
mm varchar2(200);
begin
select substr(text,1,200) into mm from om_sqltext_info where id=3D15972; end;

>>> "A. Bardeen" <abardeen1_at_yahoo.com> 06/26/00 08:54AM >>> Mohamed,

This can happen if the longraw is null, the starting position is greater than the length of the long raw, or if the length for the substr is greater than the length of the long raw.

You need to write the error trapping routines into your procedure to account for these possibilities.

HTH,


Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/=20
--=20
Author: A. Bardeen
  INET: abardeen1_at_yahoo.com=20
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: ListGuru_at_fatcity.com (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 Received on Mon Jun 26 2000 - 07:38:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US