Oracle Database Table
Example
This is an example of a named table definition for an Oracle database table. It uses a named connection.
<?xml version="1.0" encoding="UTF-8"?>
<NamedDataSourceDefinition xmlns="http://www.mapinfo.com/mxp" xmlns:gml="http://www.opengis.net/gml" version="MXP_NamedResource_1_5">
<ConnectionSet>
<NamedConnectionRef resourceID="/Samples/NamedConnections/myOracleConnection">
<ConnectionName>Connection_1</ConnectionName>
</NamedConnectionRef>
</ConnectionSet>
<DataSourceDefinitionSet>
<DBDataSourceDefinition id="id1" volatile="true">
<DataSourceName>WORLD</DataSourceName>
<ConnectionMember>
<ConnectionName>Connection_1</ConnectionName>
</ConnectionMember>
<DBTable owner="scott">WORLD</DBTable>
</DBDataSourceDefinition>
</DataSourceDefinitionSet>
<DataSourceRef ref="id1"/>
</NamedDataSourceDefinition>