When I try to compile and old procedure (oracle 8.1.7) with plsql developer 7 with an oracle 10g database, I reach the error :
Error: PL/SQL: ORA-00904: "FLAG" : identificateur non valide
EXPLANATION :
Before :
select flag into v_flag from my_table@my_dblink;
=> OK !!!
Now with 10g :
Error: PL/SQL: ORA-00904: "FLAG" : identificateur non valide
For information, It works fine with SQL*Plus so I think it's really a syntax problem or a plsql developper problem !!!
Now, when I remplace it with :
execute immediate 'select flag from my_table@my_dblink' into v_flag ;
It works fine too (with Plsql Developer compilation) !!!
Can you explain me where is the problem or why this error ?
Thanks
Remi
Error: PL/SQL: ORA-00904: "FLAG" : identificateur non valide
EXPLANATION :
Before :
select flag into v_flag from my_table@my_dblink;
=> OK !!!
Now with 10g :
Error: PL/SQL: ORA-00904: "FLAG" : identificateur non valide
For information, It works fine with SQL*Plus so I think it's really a syntax problem or a plsql developper problem !!!
Now, when I remplace it with :
execute immediate 'select flag from my_table@my_dblink' into v_flag ;
It works fine too (with Plsql Developer compilation) !!!
Can you explain me where is the problem or why this error ?
Thanks
Remi