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-00364: loop index variable 'X' use is invalid

614689Dec 21 2007 — edited Dec 21 2007
Hi I am getting the error while compiling the code. can some one plese help on this .Here is the code
BEGIN
FOR x IN (select i_bk_org_accss_lvl,f_rls_sec_grp
from sap_sys_user_stat
where i_sys_user = user_id
and c_rls_stat = 'A'
and (d_end is null or d_end = '12-31-9999'))
LOOP
internal_flag := x.i_bk_org_accss_lvl;
rls_grp_flag := x.f_rls_sec_grp;

END LOOP;
END;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 18 2008
Added on Dec 21 2007
3 comments
4,587 views