配色: 字号:
pl sql 知识点
2017-05-16 | 阅:  转:  |  分享 
  
1.pl/sql基本的语法格式



2.记录类型type...isrecord(,,,);



3.流程控制:

3.1条件判断(两种)

方式一:

if...then...endif;

if...then...else...endif;

if...then...elsif...else...endif;

方式二:

case...when...then...end;

3.2循环结构(三种)

方式一:loop...exitwhen...endloop;

方式二:while...loop...endloop;

方式三:foriin...loop...endloop;

3.3goto、exit



4.游标的使用



5.异常的处理、例外(三种方式)

5.1预定义(predefined)

5.2非预定义(predefined)

5.3自定义(User_define)



6.会写一个存储函数(有返回值)、存储过程(无返回值)



7.会写一个触发器





献花(0)
+1
(本文系胡小哈526首藏)