请教高手在存储过程中一个sql语句的用法。
select count(*) into recCount from T_ClassInfo;
recCount 是在存储过程中声明的一个变量;现在我想将T_ClassInfo也换作变量表示,如下所示:
select count(*) into recCount from tableName;
这个时候系统报错:Compilation errors for PROCEDURE AOSTAREIP.PRORULEIMPORT
Error: PLS-00201: 必须说明标识符 'tableName'
Line: 159
Text: select count(*) into recCount from tableName;
请问我该怎么做?