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

Home -> Community -> Usenet -> c.d.o.server -> Re: Package Compilation Problem

Re: Package Compilation Problem

From: Christian Antognini <christian.antognini_at_trivadis.com>
Date: Wed, 30 Jun 2004 11:47:08 +0200
Message-ID: <40e28c1c@post.usenet.com>

"Quantarc" <info_at_quantarc.co.uk> wrote in message news:%yvEc.934$Fc7.217498_at_stones.force9.net...
> oh man it works! i have lots of other packages with procedures that use
> 'open mycur for' and the argument i gave there was always just a seelct
> statement, not in a string at all. and this always worked... is there
> any reason why this should have been different this time??
>
> anyways, thanx a lot for the help!
> :D
>
> rod.

Rod

You are right, I just check it! I'm used to this type of cursor only with dynamic SQL... therefore my answer...

The problem is probably that you cannot access the table OPS_HD_M with the user you use to create the package. Of course if a string is used as parameter the check is performed at runtime... therefore you have no error.

Chris

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Received on Wed Jun 30 2004 - 04:47:08 CDT

Original text of this message

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