1
我在VS2010,01,035,的Oracle查詢窗口中有以下語句它不顯示輸出!,事件語句dbms_output.put_line('Hello')什麼都不顯示; 如何啓用輸出?爲什麼VS2010 oracle查詢窗口顯示輸出
set serveroutput on;
clear;
declare c sys_refcursor;
r pkgPriceWorx.recPriceListCustomers;
comno varchar2(3);
cpls number;
o varchar(3000);
disc number;
begin
--select * from ftPriceListCutomers('020','221');
comno:='020';
cpls:=221;
dbms_output.put_line('helllo');
--c:=pkgPriceWorx.ftPriceListCustomers(comno,cpls);
--loop
-- fetch c into r;
--dbms_output.put_line(r.cuno);
dbms_output.put_line('helllo');
--exit when c%notfound;
--end loop;
disc:=23.2;
pkgPriceWorx.prUpdateOrInsertDiscount('020','221','000051','1AA00','20-mar-1999',disc,o);
end