Purpose
SQL
Runner is a menu option designed to provide a way for users to run SQL scripts
against their Argos database.
Recommended Security Setup
Using
system security permissions, the running of SQL scripts and the generation of keycodes can be
restricted to different groups of users, so that a script that alters the
database cannot be run inadvertently.
Access
- Control | SQL Runner
Process
The below dialog will display:
Copy the SQL Script and paste this into the
“SQL statement” window and

Enquiry (Report) Scripts
If
the script is an enquiry, the results will show immediately in the bottom half
of the dialog
The
results may be reviewed within the dialog, or

to Excel
Database Update Scripts
If the script is to change the database (and
you do not have security permissions to generate key codes), the below dialog
will show:
The
key number should be provided to a person in your organisation authorised to generate key codes.
Enter
the key code they advise to you.
The
update will then be performed
The
SQL Runner will display a number of rows affected as a success message:
Spot
Checks should be performed to confirm that the records have been adjusted as
expected