set serverout on
declare
first_num number(8):=#
second_num number(8):=&num1;
result number(8);
begin
result:=(first_num/second_num+second_num);
dbms_output.put_line('the resultant value is:'||result);
end;
我想通过在运行时的变量,而我运行此程序中的Oracle APEX 4.1我得到了以下错误消息如何通过运行时间变量在PLSQL
ORA-06550: line 2, column 22:
PLS-00103: Encountered the symbol "&" when expecting one of the following:
(- + case mod new not null continue avg count current exists max min prior sql stddev
sum variance execute forall merge time timestamp interval
date
pile