存储过程参数 输出问题
我写了以下存储过程,在sqlplus下执行
execute test_output(1)中总报错,我不知道该怎样执行我的存储过程,并且显示输出值。
请高手指点。。。。
create or replace procedure test_output(xh in number,flag out char) is
begin
if xh=1 then
flag:='Y';
else
flag:='N';
end if;
dbms_output.put_line(flag);
end test_output;