摘要:
语法:LPAD(expr,n[,pad]) RPAD(expr,n[,pad])登录sqlplus测试SQL*Plus: Release 11.2.0.1.0 Production on 星期三 11月 16 16:26:42 2011Copyright (c) 1982, 2010, Oracle. All rights reserved.请输入用户名: /as sysdba连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OL... 阅读全文
摘要:
<一维数组SET SERVEROUT ON SIZE 100000DECLARE TYPE T_VARRAY IS VARRAY(3) OF VARCHAR2(20); V_VAR T_VARRAY := T_VARRAY('I', 'LOVE', 'STUDY');BEGIN FOR I IN 1 .. V_VAR.COUNT LOOP DBMS_OUTPUT.PUT_LINE(V_VAR(I)); END LOOP;END;/<二维数组<二维数组EXAMPLE1DECLARE TYPE T_VARRAY IS VARRAY( 阅读全文