1、错误描述
2、错误原因
create or replace procedure query_student(id in int,name out varchar2) is
begin
select t.name into name from t_stu_info t where t.id = id;
end query_student;
call query_student(1);
3、解决办法
本文介绍了一个关于PL/SQL过程中数据查询的问题,包括错误描述、原因分析及解决办法。通过具体示例展示了如何定义并调用一个PL/SQL过程来查询学生信息。
1、错误描述
2、错误原因
create or replace procedure query_student(id in int,name out varchar2) is
begin
select t.name into name from t_stu_info t where t.id = id;
end query_student;
call query_student(1);
8476
2万+