配色: 字号:
PL SQL生词本
2017-05-16 | 阅:  转:  |  分享 
  
■declear声明■begin执行■exception例外■end结束■打开语句setserveroutputo
n■显示输出信息dbms_output.put_line■记录类型typename_recordisrecord条件语句方
式一:if...then...endif;if...then...else...endif;if...then...el
sif...else...endif;方式二:case...when...then...end;循环结构(三种)方式一:lo
op...exitwhen...endloop;方式二:while...loop...endloop;方式三:forii
n...loop...endloop;顺序控制语句-goto,null游标cursorname_cursoris把自定
义的异常和oracle的错误关联起来pragmaexception_init(<异常情况>,<错误代码>);raise<异常情况
>创建函数createfunctionfunc_namereturn…isOUT参数实现有多个返回值createpr
ocedureprocedure_name
献花(0)
+1
(本文系胡小哈526首藏)