If else 语法
来源:互联网 发布:什么是yy语音软件 编辑:程序博客网 时间:2024/06/10 09:40
ORACLE存储过程中的ELSE IF语句怎么写,我这样写为何报错?应该怎么写?
IF(...) THEN
...
ELSE IF(...) THEN
...
END IF
IF(...) THEN
...
ELSE IF(...) THEN
...
END IF
正确写法为:
if ... then
...
elsif ... then
...
else
...
end if;
if ... then
...
else
...
end if;
if ... then --注意,没有begin
...
end if;
还可以加上begin....end,本情况只适用于if 嵌套情况,如
if .... then
begin
end;
elsif ... then
begin
end if;
上面语句一般写成下面情况,同时,为了记忆方便,故任何情况最好不要加begin... end;
if .... then
else
...
end if;
- If else 语法
- shell语法if else elif
- artTemplate if else 简洁语法
- smarty if,elseif,else 新语法
- sql中IF ELSE THEN语法
- linux shell if else 语法学习
- python 基本语法 if else for
- (if-else语法)找零的计算
- 3.Javascript语法-条件语句if...else
- velocity模板 If / ElseIf / Else语法
- 【Python语法笔记】if else 流程判断
- if, else if, else
- if else if else
- if (){}else if(){} else{}
- Swift 新语法 guard 语法 与 if else 对比
- else if
- else if
- if-else
- 搜索引擎剖析
- C++虚函数表解析(转) ——写的真不错,忍不住转了
- fusionwidgets中文开发文档
- PHP调用Oracle存储过程时的错误:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
- 从MyEclipse6.5迁移到8.6时遇到的一个问题
- If else 语法
- JavaScript获取SVG节点值
- Android签名用keytool和jarsigner制作apk文件
- 用常识性的思维思考问题
- 10个值得深入的Android应用开源项目
- Code::Block+MiniGW启动C99模式
- SQL中合并多行记录的方法总汇(转)
- 解决问题:分治策略
- 我家人生日