Approved Workman Database 5.9 - User Guide

SQL Workbench

SQL Workbench

Previous topic Next topic  

SQL Workbench

Previous topic Next topic  

171-dbSQL Even though AWdb is very robust and provides lots of ways to view and analyze data, there might occasionally be times when you want to see data in a different way. The SQL Workbench provides an interface for querying the database using SQL statements. To see ways other users use this feature, visit the AWdb Forum and have a look at the SQL Workbench topic.

Icon-Warning

This tool should only be used with an understanding of SQL or with explicit instructions from Customer Support.  Be cautious about modifying any records due to possible impacts on referential integrity and validation.  And as always, before editing any data, create a backup of the database!

AdminDB-SQL

Icon

Action

Description

088-close

Close

Closes the SQL Workbench without saving current changes.

090-save

Save

Saves any changes made in the "live result set".

Icon-Info

The Save button is only enabled if the Request a live result set is selected.

149-sqlSave

Save SQL

Saves the SQL statement that is currently displayed to a file to easily open it and run it again at a later time.

150-sqlOpen

Open SQL

Opens a SQL statement that was previously saved to a file.

152-autoWidth

Auto Width

Automatically resizes the grid's columns to best fit the data that is displayed.

031-gridOptions

Grid Tools

Lists actions related to the grid such as: saving or resetting a grid layout, or exporting data.

153-stayOnTopOn

Stay On Top

Toggles whether or not the window stays on top of the main window.

151-sqlRun

Run SQL

Runs the current SQL statement and displays the results in the grid.

To edit the data, check the Request a live result set box then click Run SQL again. This allows changes to be made in the grid and enables the Save button to keep the changes.

Icon-Warning

Again, be cautious about modifying any records due to possible impacts on referential integrity and validation.  And as always, before editing any data, create a backup of the database!

If the grid's data is going to be printed, specify a Report Title to use as the title of the printed report.