在Oracle存储过程中插入INTO

时间:2014-04-04 10:43:33

标签: oracle stored-procedures

在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

0 个答案:

没有答案