Have a table T1.
I got the error:
PL/SQL: ORA-00942: table or view does not exist
when I executed the pl/sql statement:
str varchar2(10) := 'T1';
select count(1) into cnt from str;
How to deal with it? In real situation, the table name has to be a variable.