create or replace procedure last_pro
is
age student_004.m_age%type;begin select max(m_age) into age from student_004 ;
if age > 30 then age := age+1;
end if;
end last_pro;
----------------调用存储过程
declare
null;
begin
last_pro;
end if;
end;
声明的无参数的存储过程 该怎么调用 我写的总该变不了表里的值
is
age student_004.m_age%type;begin select max(m_age) into age from student_004 ;
if age > 30 then age := age+1;
end if;
end last_pro;
----------------调用存储过程
declare
null;
begin
last_pro;
end if;
end;
声明的无参数的存储过程 该怎么调用 我写的总该变不了表里的值
end if;
应该去掉
不好意思