프로그래밍/Database

[Oracle] 사용자 추가

99% 2010. 3. 11. 15:28

space_worker와
paradise:p123456(계정)
부분만 변경해서 써먹자.

추후에 상세설명 추가할것.
//////////////////////////////////////////////////////////////////////
system/manager(password)

/* TABLE SPACE CREATE */
create tablespace space_worker
datafile 'c:\oracle\oradata\paradise\space_worker.dbf' size 100M;

/* USER CREATE */

create user paradise identified by p123456
default tablespace space_worker
temporary tablespace temp
quota 100M on space_worker
account unlock;

/* GRANT ROLE */
grant connect,resource to paradise;