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: Literal SQL and sys.dual

RE: Literal SQL and sys.dual

From: Mohammed Shakir <mshakir08816_at_yahoo.com>
Date: Thu, 04 Apr 2002 06:33:44 -0800
Message-ID: <F001.0043B2C0.20020404063344@fatcity.com>


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" <Rajendra.Jamadagni_at_espn.com> 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: mshakir08816_at_yahoo.com

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
also send the HELP command for other information (like subscribing).
Received on Thu Apr 04 2002 - 08:33:44 CST

Original text of this message

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