<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
	<id>https://dbstudy.co.kr/w/index.php?action=history&amp;feed=atom&amp;title=SQL_SYS.ODCIVARCHAR2LIST%EC%9D%B4%EC%9A%A9_unionall_%EB%8C%80%EC%B2%B4</id>
	<title>SQL SYS.ODCIVARCHAR2LIST이용 unionall 대체 - 편집 역사</title>
	<link rel="self" type="application/atom+xml" href="https://dbstudy.co.kr/w/index.php?action=history&amp;feed=atom&amp;title=SQL_SYS.ODCIVARCHAR2LIST%EC%9D%B4%EC%9A%A9_unionall_%EB%8C%80%EC%B2%B4"/>
	<link rel="alternate" type="text/html" href="https://dbstudy.co.kr/w/index.php?title=SQL_SYS.ODCIVARCHAR2LIST%EC%9D%B4%EC%9A%A9_unionall_%EB%8C%80%EC%B2%B4&amp;action=history"/>
	<updated>2026-05-08T22:48:15Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://dbstudy.co.kr/w/index.php?title=SQL_SYS.ODCIVARCHAR2LIST%EC%9D%B4%EC%9A%A9_unionall_%EB%8C%80%EC%B2%B4&amp;diff=1491&amp;oldid=prev</id>
		<title>Dbstudy: /* SYS.ODCIVARCHAR2LIST이용 union all 대체 */</title>
		<link rel="alternate" type="text/html" href="https://dbstudy.co.kr/w/index.php?title=SQL_SYS.ODCIVARCHAR2LIST%EC%9D%B4%EC%9A%A9_unionall_%EB%8C%80%EC%B2%B4&amp;diff=1491&amp;oldid=prev"/>
		<updated>2025-09-25T01:22:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;SYS.ODCIVARCHAR2LIST이용 union all 대체&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025년 9월 25일 (목) 10:22 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;11번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;11번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=sql&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=sql&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SELECT regexp_substr(column_value,&amp;#039;[^|]+&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;&amp;#039;,1,1) code -- &amp;#039;|&amp;#039;구분자 기준 1번째값&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SELECT regexp_substr(column_value,&amp;#039;[^|]+&amp;#039;,1,1) code -- &amp;#039;|&amp;#039;구분자 기준 1번째값&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      , regexp_substr(column_value,&amp;#039;[^|]+&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;&amp;#039;,1,2) code_name -- &amp;#039;|&amp;#039;구분자 기준 2번째값   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      , regexp_substr(column_value,&amp;#039;[^|]+&amp;#039;,1,2) code_name -- &amp;#039;|&amp;#039;구분자 기준 2번째값   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   FROM TABLE(SYS.ODCIVARCHAR2LIST(&amp;#039;1|one&amp;#039;, &amp;#039;2|two&amp;#039;, &amp;#039;3|three&amp;#039;));&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   FROM TABLE(SYS.ODCIVARCHAR2LIST(&amp;#039;1|one&amp;#039;, &amp;#039;2|two&amp;#039;, &amp;#039;3|three&amp;#039;));&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dbstudy</name></author>
	</entry>
	<entry>
		<id>https://dbstudy.co.kr/w/index.php?title=SQL_SYS.ODCIVARCHAR2LIST%EC%9D%B4%EC%9A%A9_unionall_%EB%8C%80%EC%B2%B4&amp;diff=1490&amp;oldid=prev</id>
		<title>Dbstudy: 새 문서: == SYS.ODCIVARCHAR2LIST이용 union all 대체 == * CTE 구문  &lt;source lang=sql&gt; SELECT &#039;1&#039; code, &#039;one&#039; code_name FROM dual UNION ALL SELECT &#039;2&#039; code, &#039;two&#039; code_name FROM dual UNION ALL   SELECT &#039;3&#039; code, &#039;three&#039; code_name FROM dual; &lt;/source&gt;   * regexp_substr함수 와 SYS.ODCIVARCHAR2LIST함수 이용 union all 대체  &lt;source lang=sql&gt;  SELECT regexp_substr(column_value,&#039;[^|]+]&#039;,1,1) code -- &#039;|&#039;구분자 기준 1번째값      , regexp_substr(column_value,&#039;[^|]+]&#039;,1,2) cod...</title>
		<link rel="alternate" type="text/html" href="https://dbstudy.co.kr/w/index.php?title=SQL_SYS.ODCIVARCHAR2LIST%EC%9D%B4%EC%9A%A9_unionall_%EB%8C%80%EC%B2%B4&amp;diff=1490&amp;oldid=prev"/>
		<updated>2025-09-25T01:21:45Z</updated>

		<summary type="html">&lt;p&gt;새 문서: == SYS.ODCIVARCHAR2LIST이용 union all 대체 == * CTE 구문  &amp;lt;source lang=sql&amp;gt; SELECT &amp;#039;1&amp;#039; code, &amp;#039;one&amp;#039; code_name FROM dual UNION ALL SELECT &amp;#039;2&amp;#039; code, &amp;#039;two&amp;#039; code_name FROM dual UNION ALL   SELECT &amp;#039;3&amp;#039; code, &amp;#039;three&amp;#039; code_name FROM dual; &amp;lt;/source&amp;gt;   * regexp_substr함수 와 SYS.ODCIVARCHAR2LIST함수 이용 union all 대체  &amp;lt;source lang=sql&amp;gt;  SELECT regexp_substr(column_value,&amp;#039;[^|]+]&amp;#039;,1,1) code -- &amp;#039;|&amp;#039;구분자 기준 1번째값      , regexp_substr(column_value,&amp;#039;[^|]+]&amp;#039;,1,2) cod...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;새 문서&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== SYS.ODCIVARCHAR2LIST이용 union all 대체 ==&lt;br /&gt;
* CTE 구문 &lt;br /&gt;
&amp;lt;source lang=sql&amp;gt;&lt;br /&gt;
SELECT &amp;#039;1&amp;#039; code, &amp;#039;one&amp;#039; code_name FROM dual UNION ALL&lt;br /&gt;
SELECT &amp;#039;2&amp;#039; code, &amp;#039;two&amp;#039; code_name FROM dual UNION ALL  &lt;br /&gt;
SELECT &amp;#039;3&amp;#039; code, &amp;#039;three&amp;#039; code_name FROM dual;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* regexp_substr함수 와 SYS.ODCIVARCHAR2LIST함수 이용 union all 대체 &lt;br /&gt;
&amp;lt;source lang=sql&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SELECT regexp_substr(column_value,&amp;#039;[^|]+]&amp;#039;,1,1) code -- &amp;#039;|&amp;#039;구분자 기준 1번째값&lt;br /&gt;
     , regexp_substr(column_value,&amp;#039;[^|]+]&amp;#039;,1,2) code_name -- &amp;#039;|&amp;#039;구분자 기준 2번째값  &lt;br /&gt;
  FROM TABLE(SYS.ODCIVARCHAR2LIST(&amp;#039;1|one&amp;#039;, &amp;#039;2|two&amp;#039;, &amp;#039;3|three&amp;#039;));&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:oracle]]&lt;/div&gt;</summary>
		<author><name>Dbstudy</name></author>
	</entry>
</feed>