plsql存储过程怎么测试啊
createorreplaceprocedureACADEMY_exits(ACADEMY_COvarchar2,ACADEMY_NAvarchar2)astempvar...
create or replace procedure ACADEMY_exits(
ACADEMY_CO varchar2,
ACADEMY_NA varchar2
)
as
temp varchar(2);
temp2 varchar2(20);
begin
select ACADEMY_CO into temp from ACADEMY where ACADEMY_CO=ACADEMY_CO;
select ACADEMY_NA into temp2 from ACADEMY where ACADEMY_NA=ACADEMY_NA;
dbms_output.put_line(temp);
dbms_output.put_line(temp2);
end;
上面是一个存储过程,请问如何测试是否正确? 展开
ACADEMY_CO varchar2,
ACADEMY_NA varchar2
)
as
temp varchar(2);
temp2 varchar2(20);
begin
select ACADEMY_CO into temp from ACADEMY where ACADEMY_CO=ACADEMY_CO;
select ACADEMY_NA into temp2 from ACADEMY where ACADEMY_NA=ACADEMY_NA;
dbms_output.put_line(temp);
dbms_output.put_line(temp2);
end;
上面是一个存储过程,请问如何测试是否正确? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询