第6章_存储子程序.pptVIP

  • 2
  • 0
  • 约1.07千字
  • 约 47页
  • 2019-07-07 发布于湖北
  • 举报
*;主要内容 存储过程的创建 存储过程的调用 存储过程的管理 存储函数的创建 存储函数的调用 存储函数的管理 ;存储子程序;*;*;*;*;create or replace procedure out_date is begin dbms_output.put_line(当前系统日期为:||SYSDATE); end out_date; ;create or replace procedure raise_CommonScore (v_sno in TB_Grade.StuID%type, v_cno in TB_Grade.CourseID%type, v_raisescore in TB_Grade.CommonScore%type) is v_score TB_Grade.CommonScore%type; begin select CommonScore into v_score from TB_Grade where StuID= v_sno and CourseID=v_cno; v_score:=v_score+v_raisescore; if v_score100 then v_score:=100; end if; update TB_Grade set CommonScore=

文档评论(0)

1亿VIP精品文档

相关文档