SQL Query Tuner can execute SQL code directly on registered data sources.

Files are executed via the Execute SQL command in the Run menu, or by clicking the green arrow button on the toolbar.

When an SQL file is open in the Workspace, select it and choose a database and an associated catalog on which you want to execute the file via the lists in the Toolbar.

You can click the execute icon to execute code on the specified database and catalog, start a transaction or commit a transaction, or modify SQL session options prior to execution.

To execute a file

Open the SQL file you want to run, ensure it is associated with the correct database, and click Execute. SQL Query Tuner executes the code on the data source you specified. Results are displayed in the Results view and can be exported into a file via the Data Export wizard, or displayed in multiple file formats (HTML, XML, and TXT formats).

To execute a transaction

To execute transactions, you need to ensure that the auto commit feature is turned off. See Specify SQL Execution Preferences for more information on how to turn off auto commit.

Open the transaction file you want to run, ensure it is associated with the correct database, and click Start Transaction. SQL Query Tuner executes the transaction on the data source you specified.

Once the transaction runs, you can execute the file as normal.

Click Commit or Rollback to finish or cancel a transaction. 

To commit a transaction

Open the transaction file you want to commit, ensure it is associated with the correct database, and click Commit Transaction. SQL Query Tuner commits the transaction on the data source you specified.

You can set transactions to auto-commit prior to execution on the SQL Execution node of the Preferences panel. 

See Also:


IDERA |  Products | Purchase | Support |  Community |  Resources |  About Us  | Legal