๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป

DDL(CREATE TABLE)

๊ณผ๋ชฉ
ORACLE
ํƒœ๊ทธํ•ญ๋ชฉ
ORACLE
OBJECT
๊ฐ์ฒด
์ œ์•ฝ์กฐ๊ฑด
NOT NULL
UNIQUE
CHECK
PRIMARY KEY
FOREIGN KEY
Study Date
2020/12/19
์†์„ฑ

DDL(CREATE TABLE)

โ€ข
DDL (DATA DEFINITION LANGUAGE) : ๋ฐ์ดํ„ฐ์ •์˜์–ธ์–ด
โ€ข
๊ฐ์ฒด(OBJECT)๋ฅผ ๋งŒ๋“ค๊ณ (CREATE), ์ˆ˜์ •(ALTER)ํ•˜๊ณ , ์‚ญ์ œ(DROP)ํ•˜๋Š” ๊ตฌ๋ฌธ
์˜ค๋ผํด์—์„œ ๊ฐ์ฒด์— ํ•ด๋‹นํ•˜๋Š” ๊ฒƒ๋“ค
ํ…Œ์ด๋ธ” ๋งŒ๋“ค๊ธฐ(๋ฌธ๋ฒ•) ๋ฐ ์ œ์•ฝ์กฐ๊ฑด์˜ ์ข…๋ฅ˜
NOT NULL ์ œ์•ฝ์กฐ๊ฑด
UNIQUE ์ œ์•ฝ์กฐ๊ฑด
์ œ์•ฝ์กฐ๊ฑด ์ด๋ฆ„์„ค์ •
CHECK ์ œ์•ฝ์กฐ๊ฑด
PRIMARY KEY(๊ธฐ๋ณธํ‚ค) ์ œ์•ฝ์กฐ๊ฑด
FOREIGN KEY(์™ธ๋ถ€ํ‚ค/์™ธ๋ž˜ํ‚ค ) ์ œ์•ฝ์กฐ๊ฑด
JOIN ์ถ”๊ฐ€ํ•™์Šต