declare
v_rows_count number;
begin
select count(1) into v_rows_count
from tbl_demo;
if v_rows_count>0 then
dbms_output.put_line('1');
else
dbms_output.put_line('0');
end if;
end;
v_rows_count number;
begin
select count(1) into v_rows_count
from tbl_demo;
if v_rows_count>0 then
dbms_output.put_line('1');
else
dbms_output.put_line('0');
end if;
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货