NO1. The general struture of execution section is :

NO2.expresstion:
PL/SQL exceptions consists of one or more PL/SQL variables conbined one or more PL/SQL operators .An exception may appear in one of the following locations:
1.On the right side of the assignment statement ;
2.As part of control statement ;
3.As part of SQL ;
NO3.control statement :
1.IF-THEN-ELSE
IF experssion THEN
statement ;[statemetn ;...]
[ELSIF expression THEN
statement ;[statemetn ;...]
]
[ELSE
statement ;[statemetn ;...]
]
END IF ;
2.LOOP
LOOP
[EXIT;]
[EXIT WHEN contition;]
statement ;[statement ; ...]
END LOOP;
3.WHILE-LOOP-END LOOP
4.FOR count IN [RESERVE] start ... end LOOP
statement ;[statement ;...]
END LOOP ;
5.GOTO
6.NULL
本文介绍了PL/SQL中常用的控制结构,包括IF-THEN-ELSE、LOOP、WHILE-LOOP-ENDLOOP、FOR循环以及GOTO语句等,并详细阐述了这些控制结构的语法格式和使用场景。
881

被折叠的 条评论
为什么被折叠?



