一.基本语法(以及与informix的比较) create [or replace] procedure procedure_name (varible {IN|OUT|IN OUT} type) {IS|AS} [varible { in | out | in out }] type;[varible { in | out | in out }] type;...... [cursor curor_name IS select subclause] begin body e…
ORACLE存储过程笔记1 一.基本语法(以及与informix的比较) create [or replace] procedure procedure_name (varible {IN|OUT|IN OUT} type) {IS|AS} [varible { in | out | in out }] type;[varible { in | out | in out }] type;...... [cursor curor_name IS select subclause] be…
ORACLE存储过程笔记3 流程控制 1.条件 if expression thenpl/sql or sqlend if; if expression thenpl/sql or sqlelsif expression thenpl/sql or sqlend if; 2.循环 loopSQLend loop; while expression loopsqlend loop; for loop_counter in lower_limit..upper_l…