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 中运行该程序时,我收到以下错误消息
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