728x90

DATA_LENGTH NUMBER NOT NULL 열 길이 (바이트)
DATA_PRECISION NUMBER NUMBER 데이터 유형의 소수점 정밀도; 이진 정밀 FLOAT 다른 모든 데이터 유형에 대한 널 (null) 데이터 유형
DATA_SCALE NUMBER 숫자에서 소수점 오른쪽으로 자릿수

CREATE TABLE type_test (
      varchar_1 varchar2(2), 
      varchar_2 varchar2(10),
      number_1 NUMBER(10),
      number_2 NUMBER(10, 2)
);

https://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_4462.htm#REFRN26277

 

USER_TAB_COLUMNS

USER_TAB_COLUMNS USER_TAB_COLUMNS describes the columns of the tables, views, and clusters owned by the current user. Its columns (except for OWNER) are the same as those in "ALL_TAB_COLUMNS". To gather statistics for this view, use the ANALYZE SQL stateme

docs.oracle.com

 

 

'Made by Miseong > 2019 오라클' 카테고리의 다른 글

[toad]  (0) 2019.08.07
1. 오라클 scott test 데이터 등록.  (0) 2019.08.05

+ Recent posts