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

Home -> Community -> Usenet -> c.d.o.misc -> Re: ddl and plsql..can someone spot the error?

Re: ddl and plsql..can someone spot the error?

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Tue, 6 May 2003 19:02:42 +0200
Message-ID: <vbg2373f6rtbce@corp.supernews.com>

"Jeff Kish" <jeff.kish_at_mro.com> wrote in message news:nukfbvkdb73ge33vt76jmviqh4aa7apl2l_at_4ax.com...
> Greetings.
>
> I'm terribly sorry if I am just blind, but I don't use plsql and ddl
together very often.
>
> Can someone see the error here? I am getting a table or view does note
exist 942 error, but I know it is in that schema.
> Is it syntactical, mental, or other?
>
> Thanks
> Jeff
>
>
> --debugger says Command is, before parse: 'SELECT MAX(ID) INTO :v_seq
FROM MySchema.note'
> --This is from within a function in a package.
> I logged in as system.
>
>
> begin
> v_Return := IPCSEQS_CANT_SELECT_MAX_ERR;
> Command := 'SELECT MAX(ID) INTO :v_seq FROM ' || TheSchema || '.note';
> dbms_sql.parse(v_DBMS_SQL_CursorName, Command,
> dbms_sql.v7);
>
>

No, it isn't. It is the disease called 'Not searching the google archives before posting'. This question is asked over and over and over again

-- 
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Tue May 06 2003 - 12:02:42 CDT

Original text of this message

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