Collections:
Export Data to an XML File in Oracle
How To Export Data to an XML File in Oracle?
✍: FYIcenter.com
If you want to export data from a table to a file in XML format, you can use the following steps:
Your XML file, \temp\MyTeam.xml, is ready. Open it, you will see:
<?xml version='1.0' encoding='Cp1252' ?>
<results>
<row>
<FIRST_NAME><![CDATA[Gerald]]></FIRST_NAME>
<LAST_NAME><![CDATA[Cambrault]]></LAST_NAME>
<MANAGER_ID><![CDATA[100]]></MANAGER_ID>
</row>
<row>
<FIRST_NAME><![CDATA[Lex]]></FIRST_NAME>
<LAST_NAME><![CDATA[De Haan]]></LAST_NAME>
<MANAGER_ID><![CDATA[100]]></MANAGER_ID>
</row>
</results>
⇒ Create a Stored Procedure Interactively in Oracle
⇐ Export Data to a CSV File in Oracle
2019-01-12, 2736🔥, 0💬
Popular Posts:
How to execute statements under given conditions in SQL Server Transact-SQL? How to use IF ... ELSE ...
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...
How To Convert Numeric Values to Integers in SQL Server Transact-SQL? Sometimes you need to round a ...
What Are the Differences between DATE and TIMESTAMP in Oracle? The main differences between DATE and...
How to set the current database in SQL Server? Once you are connected to the SQL Server, you should ...