* 테이블스페이스 조회
SQL> select tablespace_name from dba_tablespaces;
* 테이블스페이스 생성
SQL> create tablespace luuaz_tabspace
2 datafile 'luuaz_tabspace.dat'
3 size 10M autoextend on;
* 사용자 생성
SQL> create user luuaz
2 identified by 1234
3 default tablespace luuaz_tabspace
* 사용자에게 권한부여
SQL> GRANT connect, resource TO luuaz;
SQL> GRANT unlimited tablespace TO luuaz;
* 접속확인
# sqlplus luuaz/1234@XE
'업무 > DB' 카테고리의 다른 글
[mysql] unicode문자 쿼리 및 치환 (1) | 2016.03.21 |
---|---|
[iBatis] Checkbox 컨트롤러에넣어서 iBatis에 활용하기 (0) | 2015.11.26 |
[iBatis] update문 prepend작성법 (0) | 2015.11.26 |
[mysql] 한글이 물음표로 나올때. (1) | 2015.04.09 |
mysql 초기설정하기 (0) | 2015.02.01 |