RE: PLS-00225: subprogram or cursor 'string' reference is out of scope

  • From: "Mercadante, Thomas F \(LABOR\)" <Thomas.Mercadante@xxxxxxxxxxxxxxxxx>
  • To: <xiaoyezi.xyz@xxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 5 Sep 2006 08:55:01 -0400

Xiaoyan,

 

Yes this is a priv problem.  "Grant select on test.courses to king;"

 

Tom

 


--------------------------------------------------------
This transmission may contain confidential, proprietary, or privileged 
information which is intended solely for use by the individual or entity to 
whom it is addressed.  If you are not the intended recipient, you are hereby 
notified that any disclosure, dissemination, copying or distribution of this 
transmission or its attachments is strictly prohibited.  In addition, 
unauthorized access to this transmission may violate federal or State law, 
including the Electronic Communications Privacy Act of 1985.  If you have 
received this transmission in error, please notify the sender immediately by 
return e-mail and delete the transmission and its attachments.


________________________________


From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of xiaoyan
Sent: Monday, September 04, 2006 5:01 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: PLS-00225: subprogram or cursor 'string' reference is out of
scope 

 

Hi,all:

  When I connect Oracle database with a user(such as wxy/wxy),and then
in the declare part  of my procedure,I make the following definition:
('test':a name of schema;'courses'is name of a table in schema'test')

  rec test.courses%ROWTYPE;

it is ok,but when I connect database as another user such as (king/king)
and make the same definition,I got the error:PLS-00225: subprogram or
cursor 'string' reference is out of scope ,Then why?Does the user
'king'need to be granted any privilige? what privilige?

 

Thank you in advance!

Other related posts: