Query Groups
A Query Group provides the user with the ability to run a number of Data Definition Language (DDL) queries in succession. Data Definition Language (DDL) consists of SQL statements used for creating, altering, and deleting tables and indexes. CREATE TABLE and DROP INDEX are DDL statements. Query groups are normally used to perform administration tasks such as generating validation reports, creating tables or views, granting user access privileges, etc.
Query Groups are configured and added to a profile. See: Query Group: Configuration
To execute a query group, either double-click on the group icon or select the task and click Execute from the Ribbon or right-click menu.
In the Configuration Manager, double-click to open the Query Group Promote then Clear Buffer Data. You will see that the query group consists of two queries as shown below:
Run the Query Group. The queries that are configured as part of the group are available for selection on the Queries page of the wizard. The selection of queries to run is preserved the next time you run the query group.
When you click Start to execute the group, the result of the process is shown on the Messages page.
Micromine Geobank supports the running of query groups in Unattended Mode. When in Unattended mode, tasks automatically start and automatically close when complete. In Unattended mode, when tasks have been completed, Micromine Geobank will automatically close.
Note: When run unattended, Action Queries within the group will be executed, and any Select Queries will run, but no results or log will be shown.