现在的位置: 首页 > 综合 > 正文

oracle 存储过程学习一

2013年10月14日 ⁄ 综合 ⁄ 共 315字 ⁄ 字号 评论关闭

SQL> set serveroutput on ;
SQL> create or replace procedure month_mobileId(a  in varchar2)
  2  is
  3  v_mobileId number ;
  4  begin
  5  select mobileId into v_mobileId from tmonthfees201010 where rpid=a ;
  6  dbms_output.putline('v_mobileid='||v_mobileId) ;
  7  dbms.output.putline('完成存储过程') ;
  8  end ;
  9  /
 
Warning: Procedure created with compilation errors

 

抱歉!评论已关闭.