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