A common task in PhixFlow is to read data from a database. This example shows how to read data from a CRM database from a local instance of SQL Server 2008, but the same principles aplply for other daatabase platforms on networks or in the cloud.
Step-by-step guide
- Add a new datasource to your model and Select the driver class to match your database and check all three checkboxes on the details tab
- Click on Datasource Instances and add a new instance providig the connection string , username and password as shown below. (For SQL Server, the connection string speciifces the Server, SQL Server Instance and Database)
- Save and cloe teh Datasource.
- Hover over the datasource and seelct Add a new database collector
- Check both the checkboxes on the details tab and save.
- Add a SELECT query to the query string tab and test by clciking the Run query button. You shoud see results from the table in your query
- Save and close the dataase collector.
- Hover over the database collector and select Create a new stream using the attributes returned by the query
- View the attribute expressions to confirm that each column in the query has been configured
- Run analysis on the stream and view the results
Related articles
Filter by label
There are no items with the selected labels at this time.