Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Easy-to-Answer Question from Newbie
Is there an easy way to correct this problem without hardcoding the
value in the SELECT statement or passing the value in as a parameter?
declare
query_table_name VARCHAR2(32) := 'SYS.V_$SESSION';
begin
select * from query_table_name;
end;
/
ORA-06550: line 4, column 17: PLS-00201: identifier 'QUERY_TABLE_NAME' must be declared ORA-06550: line 4, column 3:
![]() |
![]() |