Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PLS-00201: identifier must be declared

user640001Dec 1 2010 — edited Dec 1 2010
Hi,

Oracle9.2
Windows

There are two schema users A & B

User A grants select privilege to user B on tables
User A grants execute privilege to user B on packages

Now, on executing package from user B, gets the below error:

Execute below code from User B to retrieve the record from the table of user A

Declare
v_sid tab_user_A.column1%TYPE;
v_pid tab_user_A.column2%TYPE;
v_value tab_user_A.column3%TYPE;
v_pname tab_user_A.column4%TYPE;
v_cur package_user_A.Cursor1;
Begin
package_user_A.procedure_one(0,0,1,1,v_cur);
dbms_output.put_line(v_value);
End;


Error
-------

ORA-06550: line 2, column 13:
PLS-00201: identifier 'tab_user_A.column1' must be declared
ORA-06550: line 2, column 13:
PL/SQL: Item ignored
ORA-06550: line 3, column 16:
PLS-00201: identifier 'tab_user_A.column2' must be declared
ORA-06550: line 3, column 16:
PL/SQL: Item ignored
ORA-06550: line 4, column 9:
PLS-00201: identifier 'tab_user_A.column3' must be declared
ORA-06550: line 4, column 9:
PL/SQL: Item ignored
ORA-06550: line 5, column 10:
PLS-00201: identifier 'tab_user_A.column4


How to get it solve ?


With Regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 29 2010
Added on Dec 1 2010
4 comments
7,447 views