📄 create_assocarray2.sql
字号:
/* * create_assocarray2.sql * Chapter 6, Oracle10g PL/SQL Programming * by Ron Hardman, Michael McLaughlin and Scott Urman * * This script demonstrates you cannot traverse an associative array * until elements are initialized. */SET ECHO ONSET SERVEROUTPUT ON SIZE 1000000DECLARE -- Define an associative array of strings. TYPE card_table IS TABLE OF VARCHAR2(5 CHAR) INDEX BY BINARY_INTEGER; -- Define an associative array variable. cards CARD_TABLE;BEGIN -- Print an element of the cards associative array. DBMS_OUTPUT.PUT_LINE(cards(1));END;/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -