随笔分类 -  01:Oracle

二、代码模板:多条件判断跳转自定义异常且回滚
摘要:DECLARE -- 声明自定义异常 value_too_high EXCEPTION; status_invalid EXCEPTION; -- 示例变量(可根据实际需求修改) input_value NUMBER := 150; -- 输入值 status_flag VARCHAR2(10) : 阅读全文
posted @ 2025-07-10 13:42 林枫山 阅读(14) 评论(0) 推荐(0)
一、Oracle手册
摘要:1.递归参考写法 --建立测试表数据 with temp as(select 0 as flevel, 'a' fparent,'b' fchild,3 fqty from dualunion all select 0,'a','c',1 from dualunion all select 0,'c 阅读全文
posted @ 2016-11-17 14:23 林枫山 阅读(536) 评论(0) 推荐(0)