Exporting Data to SQL Server

The Open Data Export Centre allows data to be exported from InfoAsset Manager to a variety of formats including SQL Server database.

Note

The Microsoft OLE DB Provider for SQL Server must be installed in order to export to SQL Server databases.

In addition to exporting data to a new Feature Class, the Open Data Export Centre can be used to update an existing Feature Class.

Exporting to a New Feature Class

The Open Data Export Centre can be used to export InfoAsset Manager tables to a new Feature Class in a SQL Server database. Further details of export options are listed in the Open Data Export Centre topic.

To export to a new Feature Class:

  1. In the Open Data Export Centre dialog select the InfoAsset Manager table to be exported from the Table To Export Data From dropdown.
  2. Select the SQL Server option from the Export Type dropdown in the Export Data To section.
  3. Use the File browse button to connect to an existing database. The Select SQL Server Data dialog will be displayed.
  1. In the Select SQL Server Data dialog, enter database connection details and click OK.
  2. In the Open Data Export Centre dialog, type in the name of a new Feature Class to which the data is to be exported.
  3. Map InfoAsset Manager internal fields to Feature Class export fields by loading a configuration file or by manually mapping the fields in the Field Mapping Grid.
  4. Click the Export button.

The specified Feature Class will be created and InfoAsset Manager data will be exported to it.

Updating an Existing Feature Class

In addition to exporting data to a new Feature Class, the Open Data Export Centre can be used to update an existing Feature Class.

ClosedShow me

To update an existing Feature Class:

  1. In the Open Data Export Centre Dialog, use the File browse button to connect to an existing database. The Select SQL Server Data dialog will be displayed.
  1. In the Select SQL Server Data dialog, enter database connection details and click OK.
  2. In the Open Data Export Centre dialog, select an existing SQL Server Database Feature Class from the Feature Class dropdown list. The Updating and Delete Options section will become enabled.
  3. Map InfoAsset Manager internal fields to Feature Class export fields by loading a configuration file or by manually mapping the fields in the Field Mapping Grid. In the Field Mapping Grid:
  4. Map update keys - select the fields to be used to locate items for update in the specified Feature Class. The Update Based On dropdown list contains all update mapping options applicable to the current Table to be Exported:
  5. Set Only Update Existing Objects option:
  6. Set Delete Missing Objects option:
  7. Set Update using changes from a previous version of the network option:

    • Check the Update using changes from a previous version of the network box to compare the current version of the network with a selected previous version of the network. Differences in objects, identified by the comparison, will be applied to the external data table.

  8. Click the Export button to export data from InfoAsset Manager to the specified Feature Class. All fields, except mapped update keys will be updated in the Feature Class.

Notes

Errors and warnings may be displayed after export listing details of row objects that have not been updated. Examples of reasons for update failures are listed below.

After carrying out a deletion, a summary of the export process is displayed including a count of items deleted from the target database.

The summary provides information on the following:

Open Data Export Centre

Exporting SQL Expressions

Exporting Array Data

Exporting Data to XML

Exporting Data to GeoDatabase

Exporting Data to Oracle