Created
July 5, 2011 21:48
-
-
Save terrancesnyder/1066051 to your computer and use it in GitHub Desktop.
Oracle XML to Temp Table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT extractvalue(column_value, '.') as record_id | |
FROM TABLE(XMLSequence(XMLTYPE( | |
'<list> | |
<id>34123121234</id> | |
<id>12312221233</id> | |
</list>').extract('//id'))) t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment