This is the code you submitted later yesterday and the error I am
getting during compile is shown below. I am wondering how you got it to
work. I tried it this on 8i/Solaris and 9i/NT.

SQL> CREATE OR REPLACE PACKAGE BODY My_Dynamic_Stuff IS
  2  --
  3  PROCEDURE eval_this (pi_string IN VARCHAR2) IS
  4  BEGIN
  5  RTRIM(pi_string,';') || '; end;';
  6  END eval_this;
  7  --
  8  END My_Dynamic_Stuff;
  9  /

Warning: Package Body created with compilation errors.

SQL> show errors
Errors for PACKAGE BODY MY_DYNAMIC_STUFF:

LINE/COL ERROR
--------
-----------------------------------------------------------------
5/22     PLS-00103: Encountered the symbol "|" when expecting one of
the
         following:
         := . ( % ;
         The symbol ":= was inserted before "|" to continue.

SQL> 
--- "Jamadagni, Rajendra" <[EMAIL PROTECTED]> wrote:
> There was another email I sent to list, check that out, that has the
> right
> code.
> 
> Raj
> ______________________________________________________
> Rajendra Jamadagni            MIS, ESPN Inc.
> Rajendra dot Jamadagni at ESPN dot com
> Any opinion expressed here is personal and doesn't reflect that of
> ESPN Inc.
> 
> QOTD: Any clod can have facts, but having an opinion is an art!
> > 
>
*********************************************************************2
> 
> This e-mail message is confidential, intended only for the named
> recipient(s) above and may contain information that is privileged,
> attorney work product or exempt from disclosure under applicable law.
> If you have received this message in error, or are not the named
> recipient(s), please immediately notify corporate MIS at (860)
> 766-2000 and delete this e-mail message from your computer, Thank
> you.
> 
>
*********************************************************************2
> 
> 


=====
Mohammed Shakir
CompuSoft, Inc.
11 Heather Way
East Brunswick, NJ 08816-2825
(732) 672-0464 (Cell)
(732) 257-6001 (Home)

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mohammed Shakir
  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