华育国际—长沙分校(java 班级课件【徐桥老师】授课)
精解 oracle 10g 数据库
第 6 天...............................................................................................................................................................2
PL/SQL 的介绍..............................................................................................................................................3
PL/SQL
开发工具介绍
............................................................................................................................5
开始编写:
..............................................................................................................................................5
PL/SQL 的基础..............................................................................................................................................7
编写规范
..................................................................................................................................................7
语法实例讲说
..........................................................................................................................................9
存储过程
................................................................................................................................................11
函数
........................................................................................................................................................14
包
............................................................................................................................................................15
触发器
....................................................................................................................................................17
变量
........................................................................................................................................................17
第 7 天.............................................................................................................................................................29
控制结构....................................................................................................................................................29
介绍
........................................................................................................................................................29
条件分支语句:
....................................................................................................................................30
循环语句....................................................................................................................................................33
----Loop..................................................................................................................................................33
----While.................................................................................................................................................35
----For.....................................................................................................................................................36
---goto , null............................................................................................................................................36
编写分页过程:........................................................................................................................................38
介绍:
....................................................................................................................................................38
无返回值的存储过程
............................................................................................................................38
有返回值的存储过程(非列表)
........................................................................................................41
有返回值的存储过程(列表
[
结果集
]
)
.............................................................................................45
编写分页的存储过程
............................................................................................................................49
遍历树形菜单............................................................................................................................................57
打印的效果:
........................................................................................................................................57
创建树形表插入模拟数据
....................................................................................................................57
书写输出树形菜单的存储过程
............................................................................................................58
例外处理....................................................................................................................................................59
例外的分类
............................................................................................................................................59
ORACLE 视图...............................................................................................................................................65
视图的定义
............................................................................................................................................65
视图与表的区别
....................................................................................................................................65
创建视图
................................................................................................................................................66
修改视图
................................................................................................................................................66
删除视图
................................................................................................................................................66
-----------------------------------------------------------------------------
长沙华育国际(徐桥老师课件)
----
版权所有违者必究