1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| SQL> create table toto (id number(7),nom varchar2(20));
Table created.
SQL> create index IDXF_TOTO on TOTO (upper(nom));
Index created.
SQL> col COLUMN_NAME for A20
SQL> select COLUMN_NAME from USER_TAB_COLUMNS where TABLE_NAME = 'TOTO';
COLUMN_NAME
--------------------
ID
NOM
SQL> col NAME for A20
SQL> col DEFAULT$ for A20
SQL> select c.NAME,C.DEFAULT$
2 from sys.obj$ o, sys.col$ c
3 where o.NAME = 'TOTO'
4 and o.OBJ# = c.obj#;
NAME DEFAULT$
-------------------- --------------------
ID
NOM
SYS_NC00003$ UPPER("NOM") |