Preparing an OLE-DB

 

  1. Make sure that you have access to all the DB sources that you will use in WITNESS Miner.

  2. Create a data source node. Double-click on it to display the data source options dialog.

  3. In the text file section, select the database via OLE DB option.

  4. In the records section, choose whether to load all of the records available from the database, or to sample a specified number of records whilst the file is being loaded. The sample method is more efficient than loading the whole database (which might not be possible due to memory limitations) and then sampling the records.

  5. In the database options section, enter the database connection string, which specifies the data source, provider, security and so on. Click on the build button to invoke the data links wizard, which helps you to build the connection string.

  6. Specify an SQL query string or table name that WITNESS Miner will use to build the record set. If an entity name contains spaces, you must enclose the name in square brackets.

  7. For example, this SQL query string selects the Software and Response fields from the Customer Response file to build the database:

    SELECT Software, Response FROM [Customer Response]

  8. For example, this table name uses all the fields in the Customer Response file to build the database:

    [Customer Response]

  9. If you wish to load date fields as continuous numeric values (doubles) rather than text strings, check the load dates as continuous numeric values box. This means that you can sort the database easily by date fields.

  10. The remaining fields do not apply if you are loading an OLE-DB. Close the data source options dialog.

  11. Create a view node, link it to the data source, then run the view node.

  12. The database is displayed in the data view window.