티스토리 뷰
728x90
- 출처
http://hyunayarn.tistory.com/9
- 오류 내용
- Lock 유저 확인 질의문
SELECT USERNAME,
ACCOUNT_STATUS,
TO_CHAR(LOCK_DATE,'YYYY.MM.DD HH24:MI') LOCK_DATE
FROM DBA_USERS
WHERE USERNAME = 'SCOTT'
- 질의결과
USERNAME ACCOUNT_STATUS LOCK_DATE
------------------------------ -------------------------------- ----------------
SCOTT EXPIRED & LOCKED 2010.03.22 23:45
1 row selected.
- Lock 해제
ALTER USER scott ACCOUNT UNLOCK;
- 확인1
SELECT USERNAME, ACCOUNT_STATUS
FROM DBA_USERS
WHERE USERNAME = 'SCOTT';
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
SCOTT EXPIRED
1 row selected.
- 암호 설정
ALTER USER scott IDENTIFIED BY tiger;
- 확인2
SELECT USERNAME, ACCOUNT_STATUS
FROM DBA_USERS
WHERE USERNAME = 'SCOTT';
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
SCOTT OPEN
1 row selected.
http://hyunayarn.tistory.com/9
- 오류 내용
- Lock 유저 확인 질의문
SELECT USERNAME,
ACCOUNT_STATUS,
TO_CHAR(LOCK_DATE,'YYYY.MM.DD HH24:MI') LOCK_DATE
FROM DBA_USERS
WHERE USERNAME = 'SCOTT'
- 질의결과
USERNAME ACCOUNT_STATUS LOCK_DATE
------------------------------ -------------------------------- ----------------
SCOTT EXPIRED & LOCKED 2010.03.22 23:45
1 row selected.
- Lock 해제
ALTER USER scott ACCOUNT UNLOCK;
- 확인1
SELECT USERNAME, ACCOUNT_STATUS
FROM DBA_USERS
WHERE USERNAME = 'SCOTT';
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
SCOTT EXPIRED
1 row selected.
- 암호 설정
ALTER USER scott IDENTIFIED BY tiger;
- 확인2
SELECT USERNAME, ACCOUNT_STATUS
FROM DBA_USERS
WHERE USERNAME = 'SCOTT';
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
SCOTT OPEN
1 row selected.
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Delphi
- android
- 지스타2007
- ubuntu
- Delphi Tip
- Linux
- KOBA
- sas2009
- ble
- ffmpeg
- MySQL
- 레이싱모델 익스트림 포토 페스티벌
- Mac
- 동경
- SAS
- NDK
- Java
- Spring
- JavaScript
- Spring MVC
- 송주경
- 전예희
- BPI-M4
- 일본여행
- 서울오토살롱
- flex
- Xcode
- oracle
- koba2010
- 튜닝쇼 2008
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함