DROP TABLE STUDENTS;
CREATE TABLE STUDENTS188
(
"SID" VARCHAR2(30),
"PWD" VARCHAR2(30) ,
"NAME" VARCHAR2(30),
"GENDER" VARCHAR2(8),
"AGE" NUMBER ,
"BIRTHDAY" CHAR(10),
"MAJOR" VARCHAR2(50),
"ADDRESS" NVARCHAR2(300),
"PHONE" VARCHAR2(13),
"SSN" CHAR(14),
"IP" VARCHAR(15),
"REGDATE" DATE
);
ALTER TABLE STUDENTS188 ADD CITY VARCHAR2(30);
ALTER TABLE STUDENTS188 DROP COLUMN CITY ;
ALTER TABLE STUDENTS188 MODIFY REGDATE TIMESTAMP ;
'개발 > db' 카테고리의 다른 글
오라클 DISTINCT와 ROWNUM (0) | 2013.11.05 |
---|---|
오라클 패턴 연산자 (0) | 2013.11.05 |
오라클 QUERY 연습 (0) | 2013.11.04 |
오라클 DML (0) | 2013.10.31 |
db 용어 정리 (0) | 2013.10.29 |