create or replace procedure test as iCount number; begin select count(hxh) into icount from zb_zzb; end test;
我想一定是TMD PL/SQL给转译成什么十六进制什么东西了
肯定不是:我还用它来做变量。 hxh INT,
楼主兄弟,我试了你的过程,没问题呀! 表中定义字段 hxh number, 过程照抄你的,就是改了个名 create or replace procedure test_may is iCount number; begin select count(hxh) into icount from test; dbms_output.put_line(icount);end test_may;输出结果 3
as
iCount number;
begin select count(hxh) into icount from zb_zzb;
end test;
hxh INT,
表中定义字段 hxh number,
过程照抄你的,就是改了个名
create or replace procedure test_may is iCount number;
begin select count(hxh) into icount from test;
dbms_output.put_line(icount);end test_may;输出结果 3