<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>tnt_db</title>
		<link rel="alternate" type="text/html" hreflang="ko" href="https://gooper.com/tnt_db"/>
	<link rel="self" type="application/atom+xml" href="https://gooper.com/tnt_db/atom"/>
	<updated>2026-04-09T15:22:29+09:00</updated>
	<id>https://gooper.com/tnt_db/atom</id>
	<generator>Rhymix</generator>
		<entry>
		<title>test&#039;&#039;&#039; &#039; &#039;&#039; &#039;&#039; &#039;&#039;&#039;&#039;&quot;&quot;&quot; &#039;&#039;&#039;&#039;&#039;&#039;&#039;&#039;</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4437"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4437#comment"/>		<id>https://gooper.com/tnt_db/4437</id>
		<published>2011-03-07T22:33:48+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">이미지 첨부합니다.&quot;&quot;::ㅣ&quot;:ㅏ&quot;:ㅣ&quot;:ㅏ:ㅣㅓㅖ)((&amp;*^$%#@!ㅁㅉㄴ옽추 &#039; &#039;&#039; &#039;&#039;</summary>
		<category term="4300" label="공통" />		</entry><entry>
		<title>테이블 열항목을 행항목으로 변경하는 팁</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4436"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4436#comment"/>		<id>https://gooper.com/tnt_db/4436</id>
		<published>2011-01-11T14:21:05+09:00</published>
		<updated>2013-03-26T21:52:32+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">어떤 테이블에 여러개의 열항목(칼럼)을 행항목(로)으로 변경해야 하는 경우 한 레코드에 여러개의 항목이 있으므로 이를 여러줄의 한 항목으로 만들기 위해서 일단 레코드 뻥튀기(자기복제)를 해야 하고 그걸 위해 임시테이블을 하나 사용합니다. 여기서는 copy_t 라는 이름의 테이블을 사용해봅니다. copy_t는 어떠한 형태든 상관 없지만 &quot;원하는 갯수의 레코드&quot;를 만들 수 있는 조건이 가능해야 합니다. (여기서는 간단하게 1~n ...</summary>
		<category term="4301" label="Oracle" />		</entry><entry>
		<title>오라클 DB 링크 만들기</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4435"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4435#comment"/>		<id>https://gooper.com/tnt_db/4435</id>
		<published>2011-01-06T15:39:01+09:00</published>
		<updated>2013-03-26T21:52:32+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">drop database link linkDB; create database link linkDBconnect to bscuser identified by userpass using &#039;(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 211.232.0.432)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = ora9)))&#039;; select * from user_tables@linkDB;</summary>
		<category term="4301" label="Oracle" />		</entry><entry>
		<title>select -&gt; update 구문 샘플</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4434"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4434#comment"/>		<id>https://gooper.com/tnt_db/4434</id>
		<published>2010-01-21T12:17:41+09:00</published>
		<updated>2013-03-26T21:52:32+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">update UPDATE tmb_act_plan a SET (a.total_gr, a.gr_1, a.gr_2, a.gr_3, a.gr_4, a.gr_5, a.gr_6, a.gr_7, a.gr_8, a.gr_9, a.gr_10, a.gr_11, a.gr_12) = (SELECT b.total_gr, b.gr_1, b.gr_2, b.gr_3, b.gr_4, b.gr_5, b.gr_6, b.gr_7, b.gr_8, b.gr_9, b.gr_10, b.gr_11, b.gr_12 FROM (SELECT b.use_yy, b.charge_id, b.task_cd, b.task_act_cd, b.gr_gbn, SUM (b.total_gr) total_gr, SUM (b.gr_1) gr_1, SUM (b.gr_2) gr_2,...</summary>
		<category term="4301" label="Oracle" />		</entry><entry>
		<title>Instant Client 사용법</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4433"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4433#comment"/>		<id>https://gooper.com/tnt_db/4433</id>
		<published>2009-12-30T16:40:01+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">Oracle에 연결하기 위해 Oracle Client를 설치하거나, 좀 심한경우에는 Oracle Enterprise까지 설치하는 경우가 있습니다. 그저 Toad 나 P/L SQL Developer를 통해 연결하기 위해서 무거운 Oracle 프로그램을 설치할 필요가 없더군요.. 답은 Instant Client 라는 OTN 개발과 배포를 위한 프로그램입니다. 프로그램 설치 방법 1. 프로그램의 다운로드 http://www.oracle.com/technology/software/tech/oci/instantclient/index.html ...</summary>
		<category term="4301" label="Oracle" />		</entry><entry>
		<title>row데이터 연결하여 조회</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4432"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4432#comment"/>		<id>https://gooper.com/tnt_db/4432</id>
		<published>2009-03-31T16:28:54+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">row데이터 연결하여 조회 WITH t AS ( SELECT 1 a, &#039;SMS&#039; b FROM dual UNION ALL SELECT 1, &#039;EMAIL&#039; FROM dual ) SELECT a , XMLAGG(XMLELEMENT(x,b,&#039; &#039;)).EXTRACT(&#039;//text()&#039;).getStringVal() b FROM t GROUP BY a ;</summary>
				</entry><entry>
		<title>데이타에 한글로 공백이 있는 경우 값을 가져오지 못하고 오류가 발생하는 경우 처리</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4431"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4431#comment"/>		<id>https://gooper.com/tnt_db/4431</id>
		<published>2009-03-23T10:28:25+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">데이타에 한글로 공백이 있는 경우 값을 가져오지 못하고 오류가 발생하는 경우 처리 (오류 : [IBM][SQLServer JDBC Driver]Transliteration failed) public Vector getNewEmpInfo(String emp_no) throws Exception{ PreparedStatement pstmt = null; ResultSet rs = null; Vector vector = new Vector(); try{ pstmt = conn.prepareStatement(sqlGetNewEmpInfo); pstmt.setString(1, emp_no); rs = pstmt.executeQuery(); while (r...</summary>
		<category term="4304" label="MS-SQL" />		</entry><entry>
		<title>mssql update예제(select ~ update)</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4430"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4430#comment"/>		<id>https://gooper.com/tnt_db/4430</id>
		<published>2008-10-31T10:21:51+09:00</published>
		<updated>2013-03-26T21:52:32+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">update to_userauth set user_id = b.new_id from to_userauth, ( select distinct a.user_id ori_id, c.user_id new_id from hscity.dbo.to_user a, to_userauth b, to_user c where a.user_id=b.user_id ) b where to_userauth.user_id=b.ori_id update하는것은 to_userauth의 user_id가 되면 출처는 inline query인 b에서 나오는 값으로 update한다. 이때 받아들이는 곳(to_userauth)는 alias를 쓰면 안되고 위에서와 같이 테이...</summary>
		<category term="4304" label="MS-SQL" />		</entry><entry>
		<title>Update ~ Select 구문 예제</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4429"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4429#comment"/>		<id>https://gooper.com/tnt_db/4429</id>
		<published>2008-10-31T09:59:55+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">* MSSQL * UPDATE table_a SET table_a.column_a = table_b.column_b FROM table_a, table_b, WHERE table_a.userid = table_b.userid * 오라클 * UPDATE table_a SET column_a = column_b WHERE userid IN (SELECT userid FROM b) UPDATE table_a SET (column_1, column__2) = (SELECT column_a, column_b FROM table_b WHERE join_column_1 = table_a.join_column_a); UPDATE table_a SET column_1 = (SELECT COLUMN FROM table_b...</summary>
		<category term="4304" label="MS-SQL" />		</entry><entry>
		<title>oracle 10g tnsnames.ora, listener.ora위치</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4428"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4428#comment"/>		<id>https://gooper.com/tnt_db/4428</id>
		<published>2008-09-29T14:39:42+09:00</published>
		<updated>2013-03-26T21:52:38+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">oracle 10g tnsnames.ora, listener.ora위치 -&gt; C:oracleproduct10.2.0db_1NETWORKADMIN에 있음</summary>
				</entry><entry>
		<title>Conditions</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4427"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4427#comment"/>		<id>https://gooper.com/tnt_db/4427</id>
		<published>2008-09-17T16:03:48+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">General Information Condition Precedence SQL Operators are evaluated before conditions Order Operator 1 =, !=, &lt;, &gt;, &lt;=, &gt;=, !=, &lt;&gt;, ^=, ~= 2 IS [NOT] NULL, LIKE, [NOT] BETWEEN, [NOT] IN, EXISTS, IS OF TYPE 3 NOT 4 AND 5 OR EXISTS EXISTS Semijoin EXISTS (&lt;subquery&gt;) SELECT table_name FROM user_tables t WHERE EXISTS ( SELECT table_name FROM user_indexes i WHERE i.table_name = t.table_name); SELECT C...</summary>
		<category term="4301" label="Oracle" />		</entry><entry>
		<title>Basic Delete Statements</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4426"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4426#comment"/>		<id>https://gooper.com/tnt_db/4426</id>
		<published>2008-09-17T16:02:03+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">Basic Delete Statements Delete All Rows DELETE &lt;table_name&gt; or DELETE FROM &lt;table_name&gt;; CREATE TABLE t AS SELECT * FROM all_tables; SELECT COUNT(*) FROM t; DELETE FROM t; COMMIT; SELECT COUNT(*) FROM t; Delete Selective Rows DELETE FROM &lt;table_name&gt; WHERE &lt;condition&gt;; CREATE TABLE t AS SELECT * FROM all_tables; SELECT COUNT(*) FROM t; DELETE FROM t WHERE table_name LIKE &#039;%MAP&#039;; COMMIT; SELECT COUN...</summary>
		<category term="4301" label="Oracle" />		</entry><entry>
		<title>Basic Update Statements</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4425"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4425#comment"/>		<id>https://gooper.com/tnt_db/4425</id>
		<published>2008-09-17T15:59:14+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">Basic Update Statements Update all records UPDATE &lt;table_name&gt; SET &lt;column_name&gt; = &lt;value&gt; CREATE TABLE test AS SELECT object_name, object_type FROM all_objs; SELECT DISTINCT object_name FROM test; UPDATE test SET object_name = &#039;OOPS&#039;; SELECT DISTINCT object_name FROM test; ROLLBACK; Update a specific record UPDATE &lt;table_name&gt; SET &lt;column_name&gt; = &lt;value&gt; WHERE &lt;column_name&gt; = &lt;value&gt; SELECT DISTIN...</summary>
		<category term="4301" label="Oracle" />		</entry><entry>
		<title>문자열 연결, 날짜 변환, 오늘 구하기</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4424"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4424#comment"/>		<id>https://gooper.com/tnt_db/4424</id>
		<published>2008-09-10T18:00:57+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">SELECT document_srl, extra_vars17 FROM `zbxe_documents` WHERE module_srl IN ( SELECT module_srl FROM zbxe_modules WHERE module = &#039;goopermall&#039; ) AND extra_vars20 = &#039;Y&#039; AND extra_vars3 != &#039; &#039; AND concat( extra_vars3, &#039;59&#039; ) &lt;= ( SELECT date_format( now( ) , &#039;%Y%m%d%H%I%S&#039; ) )</summary>
		<category term="4302" label="MySQL" />		</entry><entry>
		<title>현재의 년월일시분초 구하기</title>
		<link rel="alternate" type="text/html" href="https://gooper.com/tnt_db/4423"/>
	<link rel="replies" type="text/html" href="https://gooper.com/tnt_db/4423#comment"/>		<id>https://gooper.com/tnt_db/4423</id>
		<published>2008-09-10T16:50:22+09:00</published>
		<updated>2013-03-26T21:52:31+09:00</updated>
		<author>
			<name>구퍼</name>
		</author>
		<summary type="text">SELECT date_format( now( ) , &#039;%Y%m%d%H%I%S&#039; )</summary>
		<category term="4302" label="MySQL" />		</entry></feed>
