在Oracle存储过程中,打开游标后可以立即进行INSERT INTO吗?
我收到此消息:
Error(9,4): PLS-00103: Encountered the symbol "INSERT" when expecting one of
the following: ( - + case mod new not null select with <an identifier>
<a double-quoted delimited-identifier> <a bind variable>
continue avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string> pipe
<an alternatively-quoted string literal with character set specification>
在以下第3行:
BEGIN
OPEN GRSREFVALUES FOR
--Select REFERENCEVALUES of Unprocessed Variations
INSERT INTO l_data (value)
SELECT REFERENCEVALUE