Beispiel für eine benannte Verbindung zu MS SQL Server

Dies ist ein Beispiel für eine benannte Verbindung zu einer SQL Server-Tabelle.



<?xml version="1.0" encoding="UTF-8"?>
<NamedConnection version="MXP_NamedResource_1_5" xmlns:gml="http://www.opengis.net/gml" xmlns:mxp="http://www.mapinfo.com/mxp">
    <DBConnection dbType="sqlserver">
        <ConnectionName>/mySQLServerConnection</ConnectionName>
        <JDBCDriverParameters>
            <JDBCUrl>jdbc:sqlserver://localhost:1433;databaseName=MyDB</JDBCUrl>
            <DriverPropertySet>
                <Property name="user" value="scott"></Property>
                <Property name="password" value="tiger"></Property>
            </DriverPropertySet>
        </JDBCDriverParameters>
    </DBConnection>
</NamedConnection>