The SQL Query Engine requires GENESIS version 11.05 or later.
SQL Query Engine installation
By default the SQL Query Engine is not included even in a full GENESIS installation. If you want to install it, make sure to switch to the Advanced tab of the installer and select it. If you are modifying an existing installation or performing an upgrade from an earlier version select it as well.
If you only want to add SQL Query Engine to your installation without touching other components, select the SQL Query Engine checkbox but don't unselect other components. When you modify the installation and unselect something, that component can be uninstalled in the process.
Proceed until you get a message about a successful installation. If your installation is unsuccessful check the logs for more information.
System configuration
After installing SQL Query Engine on an existing server run the Configure System utility (backup your project and configuration database first!):
In the Configuration Settings step, make sure to select the Automatically upgrade all configurations option:
Complete the configuration for SQL Query Engine stored procedures to be added to your database.
If you didn't perform a fresh GENESIS installation but added SQL Query Engine to an existing application, it is possible for the Configure System to return an error:
After your configuration is completed, make sure all GENESIS services you need for your application are running and adjust their autostart settings if necessary (the utility may have changed them). To be able to access Data Historian data, ensure the GENESIS Data Historian Query Interface service is running.
Testing the SQL Query Engine with basic queries
If the Configure System utility completed all the operations without errors, you should be able to find the SQL Query Engine stored procedures in the master database of your SQL Server:
1. If you have Security enabled it may be necessary to add optional username and password arguments to your query - follow the chapter To query the SQL Query Engine with GENESIS Security enabled
2. FrameWorX Server Location settings for the SQL Query Engine may be incorrect - follow the chapter Applying FrameWorX Server Location Changes