create procedure yz_pro(lname varchar2,lpassword number)is
v_Password number(10);
begin
select password into v_Password from t6 where name=lname;
if v_Password=lpassword then dbms_output.put_line('密码正确');
else dbms_output.put_line('密码不正确');
endif;
end;上面的存储过程出现这个错误提示:PLS-00103,出现符号";"在需要下列之一时:if
百思不得其解,网上找了好久也没有找到想对应的答案。求帮助,谢谢!PLS-00103