小编Soo*_*yam的帖子

NESTED IF在PL/SQL中

我试图在pl/sql块中编写嵌套的IF.我该如何正确安排.

IF r1.CABLE_TYPE = "A" THEN
var_root = FC_CPSCBPR1.C_111_SCPSCBP
Run Code Online (Sandbox Code Playgroud)

逻辑我现在必须包括在内

If var_root is "TRUE" /*If the value is populated*/
  THEN 
       IF ...
            THEN
Elsif var_root is "FALSE" /*If the value is not found*/

      THEN
Run Code Online (Sandbox Code Playgroud)

plsql nested-if

-2
推荐指数
1
解决办法
6816
查看次数

标签 统计

nested-if ×1

plsql ×1