Oracle

How to use the Dictionary Views

Figo Kim 2006. 11. 27. 12:32
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
DESCRIBE DICTIONARY;
Name Null? Type
TABLE_NAME   VARCHAR2(30)
COMMENTS   VARCHAR2(4000)

SELECT * FROM dictionary WHERE table_name = 'USER_OBJECT'

COMMENTS
USER_OBJECTS Objects owned by the user

The Dictionary view contains the name and short description of each dictionary view to which you have access. From the dictionary view, you can find what kinds of views are in the Oracle database.

The names in the data dictionary are uppercase.

USER_OBJECTS and ALL_OBJECTS Views

OBJECT_NAME OBJECT_TYPE CREATED STATUS
PMYKEY_ID INDEX 24-NOV-06 VALID
DEPT_NAME_INDEX INDEX 27-NOV-06 VALID
LOC_COUNTRY_IX INDEX 23-NOV-06 VALID
LOC_STATE_PROVINCE_IX INDEX 23-NOV-06 VALID
LOC_CITY_IX INDEX 23-NOV-06 VALID
JHIST_DEPARTMENT_IX INDEX 23-NOV-06 VALID
JHIST_EMPLOYEE_IX INDEX 23-NOV-06 VALID
JHIST_JOB_IX INDEX 23-NOV-06 VALID
DEPT_LOCATION_IX INDEX 23-NOV-06 VALID
............................

USER_OBJECTS:
- OBJECT_NAME
- OBJECT_ID : Dictionary object number  for the object
- OBJECT_TYPE : TABLE, VIEW, INDEX, SEQUENCE, and so on.)
- CREATED : Timestamp
- LAST_DDL_TIME : last modification timestamp
- STATUS : valid, invalid, or N/A
- GENERATED : Is system-generated object? (yes or not)

  • Objects owned by you.
  • A useful way to obtain a listing of all object names and types in your schema, plus the following information:
    - Data created
    - Date of last modification
    - Status (valid or invalid)

ALL_OBJECT

  • To see all objects to which you have access.

'Oracle' 카테고리의 다른 글

Table Information  (0) 2006.11.27
How to use the Dictionary Views  (0) 2006.11.27
Data Dictionary Structure  (0) 2006.11.27
Data Dictionary Structure  (0) 2006.11.27
Data Dictionary  (0) 2006.11.27