본문 바로가기

프로그래밍/Oracle

오라클 명령어

----port 변경
--exec dbms_xdb.sethttpport(9090);
--
----port 확인
--select dbms_xdb.gethttpport() from dual;
--
----hr user unlock
--alter user hr IDENTIFIED by hr account unlock;
--
----user 확인
--show user

--scott살리기
--@D:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql

--USER 전환
--conn system/password

--password 변경
--alter user scott IDENTIFIED by tiger;

--nvl은 nvl(칼럼명 , n)

-- 해당 칼럼의 null값을 n(숫자, '문자', 'sysdate')으로 변경

'프로그래밍 > Oracle' 카테고리의 다른 글

DD,DML,Transaction  (1) 2019.11.21
DDL, 서브쿼리, 휴지통  (1) 2019.11.21
SQL 유형별 명령문  (0) 2019.11.19
like 와일드카드 _ %  (2) 2019.11.14
비절차적 언어 SQL 정의  (0) 2019.11.13