<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.garamx.com/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.garamx.com/dokuwiki/feed.php">
        <title>GaramX oracle</title>
        <description></description>
        <link>https://www.garamx.com/dokuwiki/</link>
        <image rdf:resource="https://www.garamx.com/dokuwiki/lib/tpl/darkblue/images/favicon.ico" />
       <dc:date>2026-05-06T13:43:12+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:comma&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:createtable&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:dba&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:dblink&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:find_source&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:getddl&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:hashjoin&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:hint&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:home&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:install&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:merge&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:mvn_oracle&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:rdsdblink&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:rollup&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:schedule&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:sha256&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:split_to_table&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:sqlldr&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:tablespace&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:timestamp_recovery&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:tnsnames&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:trigger&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:trunc&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:update_join&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:user_source&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:user&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:wm_concat&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=oracle:xml_sql&amp;rev=1744711518&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.garamx.com/dokuwiki/lib/tpl/darkblue/images/favicon.ico">
        <title>GaramX</title>
        <link>https://www.garamx.com/dokuwiki/</link>
        <url>https://www.garamx.com/dokuwiki/lib/tpl/darkblue/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:comma&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:comma</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:comma&amp;rev=1744711518&amp;do=diff</link>
        <description>Comma

&lt;Code:sql&gt;
select regexp_substr(&#039;pingpong,arrow,function&#039;, &#039;[^,]+&#039;, 1, level)
from dual
connect by regexp_substr(&#039;pingpong,arrow,function&#039;, &#039;[^,]+&#039;, 1, level) is not null;
&lt;/Code&gt;

&lt;Code sql&gt;
select *
from emp
where ename in (
select regexp_substr(&#039;pingpong,arrow,function&#039;, &#039;[^,]+&#039;, 1, level)</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:createtable&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:createtable</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:createtable&amp;rev=1744711518&amp;do=diff</link>
        <description>Create Table


CREATE TABLE &quot;ASLIB&quot;.&quot;SALED_HIST&quot; 
   (
 	&quot;ID&quot; NUMBER(18,0) GENERATED BY DEFAULT AS IDENTITY, 
 	DEL_USER_ID varchar2(30 byte),
 	DEL_DATE		varchar2(8 byte),
 	DID	NUMBER(18),
	&quot;CSTMR_ID&quot; VARCHAR2(5 BYTE), 
	&quot;ITEM_ID&quot; VARCHAR2(9 BYTE), 
	&quot;COLOR_ID&quot; VARCHAR2(4 BYTE), 
	&quot;MGN_RATE&quot; NUMBER(5,2), 
	&quot;MGR_RATE&quot; NUMBER(5,2), 
	&quot;HAL_RATE&quot; NUMBER(5,2), 
	&quot;PAN_PRICE&quot; NUMBER(7,0), 
	&quot;SALEH_ID&quot; NUMBER(18,0), 
	&quot;ADD_DATE&quot; VARCHAR2(8 BYTE), 
	&quot;USER_ID&quot; VARCHAR2(30 BYTE), 
	 CONSTRAINT &quot;SALED_HIS…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:dba&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:dba</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:dba&amp;rev=1744711518&amp;do=diff</link>
        <description>DBA

	*  H5 DB Import
	*  Oracle User관리
	*  Oracle DB Link
	*  DB Script생성

Data Pump Directory확인


SELECT DIRECTORY_PATH FROM DBA_DIRECTORIES WHERE DIRECTORY_NAME = &#039;DATA_PUMP_DIR&#039;;


1.DB 사용자 알아보기.


SELECT username, account_status FROM dba_users WHERE username=&#039;SCOTT&#039;;



-- 사용자 Role
SELECT * FROM user_role_privs;</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:dblink&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:dblink</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:dblink&amp;rev=1744711518&amp;do=diff</link>
        <description>Oracle DB Link관리

	*  DBA

DBLINK 생성

DBLINK 생성 구문


SQL&gt; CREATE [PUBLIC] DATABASE LINK link_name
         [CONNECT TO CURRENT_USER]
         [USING &#039;connect_string&#039;]
         
SQL&gt; CREATE DATABASE LINK 링크이름
         CONNECT TO &lt;연결하고자 하는 user&gt;
         IDENTIFIED BY &lt;연결하고자 하는 user password&gt;
         USING &#039;원격 db alias&#039;
         
CREATE DATABASE LINK HWS
         CONNECT TO schema_name IDENTIFIED BY &quot;schema_password&quot;
         USING &#039;(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=server_address)(PORT =…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:find_source&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:find_source</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:find_source&amp;rev=1744711518&amp;do=diff</link>
        <description>소스검색


 
--프로시저 TEXT검색
SELECT *
FROM   USER_SOURCE
WHERE  1=1
AND TYPE = &#039;PROCEDURE&#039; --패키지나 다른 부분을 검색 하고 싶다면 대문자로 입력 
AND    TEXT LIKE  &#039;%REG_DT%&#039; --여기에 찾고 싶은 텍스트 입력
ORDER BY NAME, LINE

--FUNCTION TEXT검색
SELECT *
FROM   USER_SOURCE
WHERE  1=1
AND TYPE = &#039;FUNCTION&#039;
AND    TEXT LIKE  &#039;%REG%&#039;  
ORDER BY NAME, LINE</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:getddl&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:getddl</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:getddl&amp;rev=1744711518&amp;do=diff</link>
        <description>테이블정보 얻기

오라클 프로시져 리스트 조회

SELECT * 
   FROM USER_OBJECTS 
 WHERE OBJECT_TYPE = &#039;PROCEDURE&#039;
      AND OBJECT_NAME LIKE &#039;%PNA%&#039;

 

오라클 컬럼 리스트 조회

SELECT * 
  FROM USER_TAB_COLUMNS</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:hashjoin&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:hashjoin</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:hashjoin&amp;rev=1744711518&amp;do=diff</link>
        <description>Hash Join

해시 조인(Hash-Join)은 두 테이블 중 하나를 기준으로 비트맵 해시 테이블을 메모리에 올린 후 나머지 테이블을 스캔 하면서 해싱 테이블을 적용하여 메모리에 로딩된 테이블과 비교하여 매칭되는 데이터를 추출하는 방식의 조인이다.
RDBMS에 서 비용이 가장 많이 들어가는 Join 방법으로 주로 작은 Table과 큰 Table 의 Join 시 사용되어 지며 , Driving 조건과 상관없이 좋은 성능을 발휘할 수 있다.…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:hint&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:hint</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:hint&amp;rev=1744711518&amp;do=diff</link>
        <description>ORACLE Hint 정리

A. Initialization Parameter중 OPTIMIZER_MODE 지정가능 값

1.ALL_ROWS

Goal : Best Throughput
용도 : 전체 RESOURCE 소비를 최소화 시키기 위한 힌트. Cost-Based 접근방식.


SELECT /*+ALL_ROWS */
EMPNO,ENAME
FROM EMP
WHERE EMPNO = 7655;</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:home&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:home</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:home&amp;rev=1744711518&amp;do=diff</link>
        <description>Oracle Database

&lt;https://localhost:5500/em&gt;

	*  DBA
	*  H5 DB Import
	*  Oracle User관리
	*  Oracle설치

Oracle관련자료들

	*  Maven Oracle JDBC
	*  Schedule
	*  Hint
	*  Merge Statement
	*  Trigger
	*  Hash Join
	*  Create Table
	*  RDS DB Links
	*  Table Space
	*  Trunc
	*  user_source 사용
	*  Split To Table
	*  Rollup
	*  WM_CONCAT is gone in 12c
	*  SQLLDR loader
	*  SHA256 Package
	*  TNS Names
	*  Functions
	*  테이블정보 얻기
	*  Use Comma
	*  Timestampe를 이용한복구
	*  XML SQL
	*  Update Join
	*  프로시져 소스검색
…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:install&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:install</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:install&amp;rev=1744711518&amp;do=diff</link>
        <description>오라클설치

debian에서 설치</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:merge&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:merge</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:merge&amp;rev=1744711518&amp;do=diff</link>
        <description>Merge Statement


MERGE INTO SALED T
          USING (
            SELECT c.cstmr_id, item_id, color_id, 24 mgn_rate, 0 mgr_rate,
                   hal_rate, a.CUR_PAN_PRICE pan_price, b.saleh_id
                 , to_char(sysdate, &#039;yyyymmdd&#039;) add_date, rUserCode user_id
              FROM TABLE(CAST(m_SALE_DTL_TBL AS SALE_DTL_TBL)) a,
                  (select id saleh_id
                    from saleh
                   where (pSaleSdate between sale_sdate and sale_edate
                     …</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:mvn_oracle&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:mvn_oracle</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:mvn_oracle&amp;rev=1744711518&amp;do=diff</link>
        <description>Maven Oracle JDBC

oracle jdbc는 수동으로 repository에 등록해주어야 함.


mvn install:install-file -Dfile=C:\Users/taekg/ojdbc8.jar -DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0 -Dpackaging=jar



		&lt;dependency&gt;
			&lt;groupId&gt;com.oracle&lt;/groupId&gt;
			&lt;artifactId&gt;ojdbc8&lt;/artifactId&gt;
			&lt;version&gt;12.2.0&lt;/version&gt;
		&lt;/dependency&gt;</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:rdsdblink&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:rdsdblink</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:rdsdblink&amp;rev=1744711518&amp;do=diff</link>
        <description>DB LINK 생성


create public database link DBLINK_PRD
connect to ADMIN
identified by &quot;******&quot;
using &#039;(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ais-rds-prd.ciram51bv0wk.ap-northeast-2.rds.amazonaws.com)(PORT=51521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ASICSDB)))&#039;;</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:rollup&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:rollup</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:rollup&amp;rev=1744711518&amp;do=diff</link>
        <description>Rollup</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:schedule&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:schedule</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:schedule&amp;rev=1744711518&amp;do=diff</link>
        <description>Schedule
SELECT * FROM USER_SCHEDULER_JOBS; --등록된 job
SELECT * FROM USER_SCHEDULER_JOB_ARGS; --job의 arguments
SELECT * FROM USER_SCHEDULER_RUNNING_JOBS; --현재 running중인 job들의정보
SELECT * FROM USER_SCHEDULER_JOB_LOG; --job의 log
SELECT * FROM USER_SCHEDULER_JOB_RUN_DETAILS; --job의수행된정보및Error 정보
SELECT * FROM USER_SCHEDULER_PROGRAMS; -- 등록된 Program
SELECT * FROM USER_SCHEDULER_PROGRAM_ARGS; -- 프로그램의 매게변수
SELECT * FROM USER_SCHEDULER_SCHEDULES; --등록된 스케쥴러…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:sha256&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:sha256</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:sha256&amp;rev=1744711518&amp;do=diff</link>
        <description>ORACLE SHA256

SHA256 PACKAGE

GitHub : CruiserX/sha256_plsql

	*  간단한 사용법


select b.password as pwd, a.emp_no, f_shaencryptor(substr(CTZ_NO,7)) as f_java,
  sha256.encrypt(substr(ctz_no,7)) as f_pkg
  from vi_frm_phm_emp a
  join frm_user b
  on a.emp_no = b.login_id</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:split_to_table&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:split_to_table</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:split_to_table&amp;rev=1744711518&amp;do=diff</link>
        <description>String to Table

String으로부터 table얻기위한 방법

Table 얻기


SELECT RT_SEQ, RT_VALUE
  FROM TABLE(FT_SPLIT_ARRAY(av_str_mail ,&#039;|&#039;));


FT_SPLIT_ARRAY


CREATE OR REPLACE FUNCTION FT_SPLIT_ARRAY (
      av_str   IN VARCHAR2
    , av_split IN VARCHAR2
) RETURN PIPE_FT_SPLIT_ARRAY_TAB PIPELINED IS
 /*********************************************************************************
 PROCEDURE NAME : FT_SPLIT_ARRAY
 DESCRIPTION    : av_str 로 넘어온 문자열을 av_split으로 자른다음 문자열을 붙여서 반환한다.
                  an_num에 값이…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:sqlldr&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:sqlldr</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:sqlldr&amp;rev=1744711518&amp;do=diff</link>
        <description>SQLLDR


LOAD DATA 
INFILE &#039;lob_test_data.txt&#039;
   INTO TABLE lob_tab
   FIELDS TERMINATED BY &#039;,&#039;
   (number_content    CHAR(10),
    varchar2_content  CHAR(100),
    date_content      DATE &quot;DD-MON-YYYY&quot; &quot;:date_content&quot;,
    clob_filename     FILLER CHAR(100),
    clob_content      LOBFILE(clob_filename) TERMINATED BY EOF,
    blob_filename     FILLER CHAR(100),
    blob_content      LOBFILE(blob_filename) TERMINATED BY EOF)</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:tablespace&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:tablespace</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:tablespace&amp;rev=1744711518&amp;do=diff</link>
        <description>Tablespace

할당할 수 있는 최대 EXTENT의 크기가 얼마인지 확인한다.


SELECT MAX(blocks), MAX(bytes)
  FROM DBA_FREE_SPACE
 WHERE TABLESPACE_NAME = &#039;TEMP&#039;;


Tablespace확인


SELECT * FROM DBA_TABLESPACES;


Tablespace생성


CREATE TABLESPACE H5DATA
    DATAFILE &#039;/u01/app/oracle/oradata/XE/h5data.dbf&#039; SIZE 1024M
    AUTOEXTEND ON NEXT 100M;</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:timestamp_recovery&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:timestamp_recovery</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:timestamp_recovery&amp;rev=1744711518&amp;do=diff</link>
        <description>Timestamp를 이용한 복구


select *
from fdb_base_env
     as of timestamp (systimestamp - interval &#039;10&#039; minute);</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:tnsnames&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:tnsnames</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:tnsnames&amp;rev=1744711518&amp;do=diff</link>
        <description>tnsnames.ora



PEPPER_DEV =
  (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.11)(PORT=1521))
    (CONNECT_DATA=
      (SERVER=DEDICATED)
      (SERVICE_NAME=ORCL)
    )
  )</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:trigger&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:trigger</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:trigger&amp;rev=1744711518&amp;do=diff</link>
        <description>Trigger

Trigger 확인


--2 All Disabled Triggers:
select *
  from dba_triggers
 where status!=&#039;ENABLED&#039;;


Compund Trigger


CREATE OR REPLACE TRIGGER 트리거이름
  FOR 트리거링 이벤트 ON 테이블명
    COMPOUND TRIGGER
  -- 전역 변수 선언
  g_global_variable VARCHAR2(10);
  TYPE TYPE_SALED_TAB IS TABLE OF SALED%ROWTYPE;
  G_SALED_TAB TYPE_SALED_TAB := TYPE_SALED_TAB();
  type ty_bookings_hist is table of bookings_hist%rowtype
    index by pls_integer;
  coll_bookings_hist ty_bookings_hist;
  ctr pls_integer := 0;
  BEFO…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:trunc&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:trunc</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:trunc&amp;rev=1744711518&amp;do=diff</link>
        <description>TRUNC


select sysdate
,trunc(sysdate)
,trunc(sysdate,&#039;YEAR&#039;)
,trunc(sysdate,&#039;MONTH&#039;) , trunc(sysdate, &#039;MM&#039;)
,trunc(sysdate,&#039;DAY&#039;)
,trunc(123.4567,2)
,trunc(123.4567)
from dual


Result
18/03/09
18/03/09
18/01/01
18/03/01
18/03/04
123.45
123</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:update_join&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:update_join</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:update_join&amp;rev=1744711518&amp;do=diff</link>
        <description>Update Join

Oracle


-- 1. SubQuery 를 이용한 Update
UPDATE emp e
   SET e.dname = (SELECT d.dname FROM dept d WHERE d.deptno = e.deptno)
 WHERE EXISTS (SELECT 0 FROM dept d WHERE d.deptno = e.deptno)
;
-- 2. Updatable Join View 이용
--    단, d.deptno 가 반드시 PK 이어야 함
--    10G 까지는 PK 아니더라도 힌트로 제어 가능(/*+ bypass_ujvc */)
UPDATE /*+ bypass_ujvc */
       (SELECT e.dname
             , d.dname AS dname_new
          FROM emp  e
             , dept d
         WHERE d.deptno = e.deptno
        )
   SET dnam…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:user_source&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:user_source</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:user_source&amp;rev=1744711518&amp;do=diff</link>
        <description>user_source

select *
from user_source
where upper(text) like &#039;%kkk%&#039;</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:user&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:user</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:user&amp;rev=1744711518&amp;do=diff</link>
        <description>사용자관리

	*  DBA
	*  H5 DB Import


SELECT username, account_status
     , T1.*
  FROM dba_users T1
 WHERE username in (&#039;HUNEL&#039;,&#039;HUNEL_RET&#039;, &#039;H551&#039;)
;</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:wm_concat&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:wm_concat</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:wm_concat&amp;rev=1744711518&amp;do=diff</link>
        <description>WM_CONCAT is gone 12c

Hi tom,
when i tried use this wm_concat() function in 12c i&#039;m getting this error can you briefly explain?

ORA-00904: “WM_CONCAT”: invalid identifier
00904. 00000 - “%s: invalid identifier 
and we said...
WM_CONCAT is gone in 12c.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=oracle:xml_sql&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>oracle:xml_sql</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=oracle:xml_sql&amp;rev=1744711518&amp;do=diff</link>
        <description>select xt.*
  from xmltable(&#039;/persons/person&#039; parsing xmltype (:x_xml)
  columns
  empno varchar2(10) path &#039;empno&#039;,
  empnm varchar2(50) path &#039;emp_nm&#039;) xt



select *
  from xmltable(&#039;123,123&#039;)</description>
    </item>
</rdf:RDF>
