Database

Oracle XE 사용하기

파란크리스마스 2013. 11. 21. 17:09
728x90
출처 : [ORACLE] 11g XE 버전 설치 후에 샘플 사용자/DB 설정하기

Oracle 서버 실행

oradim -startup -sid xe

Oracle 서버 종료

oradim -shutdown -sid xe

접속확인

tnsping xe

sqlplus 접속하기

sqlplus system/pass@xe

Demo Database(scott) 만들기

CREATE USER scott IDENTIFIED BY tiger DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
@C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql

오라클 scott 계정 활성화 하기

alter user scott identified by tiger account unlock;
728x90