[ The imperialist Japanese military must officially acknowledge and apologize for the coercion of young women into sexual slaves. / êꪤҳàõªòàõªÎÒ¿Ö˪˪·ª¿ð¨ÏÐñ«ëùìíÜâÏÚªÎ?ð¤àõªòÍëãÒªËìãªá¡¢Þóñªª·ªÊª±ªìªÐªÊªéªÊª¤. ]

»ç¿ëÀÚ

ID:
PW:

INDEX
01.°Ô½ÃÆÇ
°Ô½ÃÆÇ [72]
02.File Book
File ÀÚ·á½Ç [96]
Site Link [14]
°³ÀÎÆú´õ [200]
03.Field Book
Altibase [19]
Tibero [31]
MS-SQL [32]
MySQL [47]
DB2 [79]
ORACLE [3121]
PSQL [139]
CUBRID [5]
±âŸÁ¤º¸ [178]
¿î¿µÃ¼Á¦ [618]
04.Q/A Book
Q/A [53]
05.¹æ¸í·Ï
¹æ¸í·Ï [54]
·¹º§¾÷ [37]
±¸ÀÎ/±¸Á÷ [2]

±â³äÀÏ
Search
LINK
+ °¡Á· Hompy
+ DNSEver
IOTN :: Field Book :: ORACLE

 È¸¿ø°¡ÀÔ

SQLX Function, XML ¿¹Á¦
ÃÖ±æÈ£ [LIST]   2005-09-21 22:39:01, Á¶È¸ : 20,104

SQLX Function

XMLElement()
XMLAttributes()
XMLForest()
XMLColAttVal()
XMLSequence()
XMLConcat()
XMLAgg()

XMLElement()
----------------------------------------------------------------------------------------------------
select empno,xmlelement("Emp",ename|| ' '||job) as result from emp;
      7934
<Emp>MILLER CLERK</Emp>

select xmlelement("Emp",
xmlelement("ename",ename),
xmlelement("job",job)) from emp;
<Emp>
  <ename>MILLER</ename>
  <job>CLERK</job>
</Emp>

----------------------------------------------------------------------------------------------------

select xmlelement("Emp",xmlattributes(empno as "id",ename as "name")) from emp;
<Emp id="7900" name="JAMES"/>
<Emp id="7902" name="FORD"/>
----------------------------------------------------------------------------------------------------
select xmlelement("Eml",xmlforest(hiredate,deptno as "department")) from emp;
<Eml>
  <HIREDATE>82/01/23</HIREDATE>
  <department>10</department>
</Eml>
----------------------------------------------------------------------------------------------------
select xmlelement("Department",
xmlattributes(deptno as "id"),
xmlagg(xmlelement("emp",ename))) from emp
group by deptno;
<Department id="30">
  <emp>ALLEN</emp>
  <emp>JAMES</emp>
  <emp>BLAKE</emp>
</Department>
----------------------------------------------------------------------------------------------------
select XMLElement("Emp",
XMLColAttVal(
hiredate,
deptno)
) as result from emp;
<Emp>
  <column name="HIREDATE">82/01/23</column>
  <column name="DEPTNO">10</column>
</Emp>

----------------------------------------------------------------------------------------------------
select xmlconcat(
xmlelement("name",ename),
xmlelement("job",job)
) from emp;
<name>MILLER</name
<job>CLERK</job>

----------------------------------------------------------------------------------------------------
select value(e).getclobval() from
table(xmlsequence
(cursor(select * from emp))
) e;
<ROW>
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAME>
<JOB>CLERK</JOB>
<MGR>79

----------------------------------------------------------------------------------------------------
select extractvalue(value(T),'/Description')
from purchaseorder X,
table(xmlsequence(
extract(x.doc,'//LineItem/Description')
)
)T;
18.97.9.172


  LIST

Á¦¸ñ ÀÛ¼ºÀÚ ÀÛ¼ºÀÏ Á¶È¸
Script  complex fully decoded locking information (TFSCLOCK.SQL ) lv:8   ÃÖ±æÈ£ 2005/10/25 3323
Tuning  How To Display The Values Of A Bind Variable In A SQL Statement  [1]  ÃÖ±æÈ£ 2005/10/23 15467
Admin  PL/SQL ¿¹Á¦ (SQL*PLUS) ½Ã°£È®ÀΠ   ÃÖ±æÈ£ 2005/10/23 10038
Troubleshoot  ver:8.0.5 analyze, ora-03113,ora-07445     ÃÖ±æÈ£ 2005/10/23 12201
Backup and Recovery  Standby DB (startup,shutdown) NT, 2005/10/23  lv:7   ÃÖ±æÈ£ 2005/10/23 3500
Script  analyze table,index  [2]  ÃÖ±æÈ£ 2005/10/19 10774
Tuning  SQL Tuning ( <>-> not exists )    ÃÖ±æÈ£ 2005/10/18 10301
Application Server  ldapsearch »ç¿ë¿¹ 1    ÃÖ±æÈ£ 2005/10/16 11171
Backup and Recovery  RMAN Backup ¿¹Á¦µé [¼öÁ¤Áß] lv:7   ÃÖ±æÈ£ 2005/10/13 3582
Admin  WINDOWS NT¿¡¼­ RAW DEVICE ¼³Á¤ÇÏ´Â ¹æ¹ý    ÃÖ±æÈ£ 2005/10/13 9950
Admin  create rollback segment , rbs    ÃÖ±æÈ£ 2005/10/13 10234
Admin  redo log, logfile add, logfile Ãß°¡ alter database rename file  [3]  ÃÖ±æÈ£ 2005/10/13 9358
Script  recovery(exp,imp) º¹±¸¿ë script [ create tablespace ] lv:6   ÃÖ±æÈ£ 2005/10/13 4145
Script  add datafile autoextend on script [ alter database datafile autoextend on maxsize alter tablespace ]    ÃÖ±æÈ£ 2005/10/13 19834

    ¸ñ·Ïº¸±â   ÀÌÀüÆäÀÌÁö   ´ÙÀ½ÆäÀÌÁö   [ÀÌÀü 10°³] [1]..[141][142][143][144] 145 [146][147][148][149][150]..[156]   [´ÙÀ½ 10°³]
       

Copyright 1999-2024 Zeroboard / skin by ÃÖ±æÈ£(gilho.kr@gmail.com)
ÃÖ±Ù ´ñ±Û
2021/06/30
À©µµ¿ì ¼­¹ö¿¡¼­ sqlplus .... ORA-...
by ÃÖ±æÈ£
2021/06/30
ORA-28500: connection from O...
by ÃÖ±æÈ£
2019/05/02
pkg È®ÀÎ SELECT * FROM AL...
by ÃÖ±æÈ£
ÃÖ±Ù °Ô½Ã¹°
11/21
[PSQL]
CentOS 5 ¼³Ä¡ °¡´É psql 11.22 ¼³Ä¡.
by ÃÖ±æÈ£
10/28
[PSQL]
ERROR: permission denied: "RI....
by ÃÖ±æÈ£
10/25
[¿î¿µÃ¼Á¦]
yum install / "Could not resol....
by ÃÖ±æÈ£