PLSQL Collection Check Existence
来源:互联网 发布:mac怎么复制文字 编辑:程序博客网 时间:2024/06/07 02:04
SET serveroutput ONSET verify OFFDECLAREtype a_typeIS TABLE OF VARCHAR2(10) INDEX BY binary_integer; a a_type;BEGIN a(5) := 'five'; a(-3) := 'minus 3'; a(0) := 'zero'; a(7) := 'seven'; a(9) := 'nine'; DBMS_OUTPUT.PUT_LINE(A(2));EXCEPTIONWHEN no_data_found THEN DBMS_OUTPUT.PUT_LINE('存在しないキー値を参照しました');END;/SET verify ON
SET serveroutput ONSET verify OFFDECLAREtype a_typeIS TABLE OF VARCHAR2(10) INDEX BY binary_integer; a a_type;BEGIN a(5) := 'five'; a(-3) := 'minus 3'; a(0) := 'zero'; a(7) := 'seven'; a(9) := 'nine'; IF a.exists(2) THEN DBMS_OUTPUT.PUT_LINE(A(2)); ELSE DBMS_OUTPUT.PUT_LINE('存在しないキー値を参照しました'); END IF;END;/SET verify ON
0 0
- PLSQL Collection Check Existence
- [INS-30060]:Check for group existence failed
- PLSQL Collection
- Unexpected error occurred while trying to check for group existence.
- Check the existence of public synonyms Remove the public synonyms
- Check the existence of public synonyms Remove the public synonyms
- PLSQL Collection Sort
- AIX上配置SSH Connectivity遇到Existence check failed for /bin/bash错误
- PLSQL collection 示例 之 varray
- PLSQL collection 示例 之 varray
- PLSQL collection 示例 之 varray
- PLSQL collection 示例 之 varray
- PLSQL Table Collection Cursor Variable
- PLSQL collection 方法 和 三种collection对比
- PLSQL collection 示例 之 index-by table
- PLSQL collection 示例 之 index-by table
- PLSQL collection 示例 之 Nested Tables
- PLSQL collection 示例 之 Nested Tables
- 几种流行Webservice框架性能对比(转载、拼接)
- android_100_事件拦截
- SSDsim源码分析之Buffer_management()
- Leetcode - 8.String to Integer (atoi)
- leetcode_reverse Integer
- PLSQL Collection Check Existence
- 算法之路二:刘汝佳算法竞赛入门经典:STL映射 反片语UVA156
- (7)Dojo学习之query选择器(上)
- java.lang.NoSuchMethodError: scala.Predef$.$scope()Lscala/xml/TopScope$;
- 【p083】传球游戏
- PAT(甲级)1092. To Buy or Not to Buy (20)
- 访问 Neutron 外部网络 - 每天5分钟玩转 OpenStack(143)
- kafka之七 sinkTask
- 【周边知识学习积累】——关于UEFI和双系统