Skip to content

Census SqlCommand.php

James Cobban edited this page Jan 19, 2024 · 1 revision

Up: Census Implementation

Source Code

This script can be used to issue selected SQL commands against the database.

Parameters (passed by method=get):

Name Description
SqlCommand A command to be issued against the database. If present the script validates the command and the user can run it if valid.

The parameter values should be such as to only return a single line from the census database.

Example of Prompt for entering SQL Command

When a command is first entered the script performs a database query to determine how many records will be returned of modified by the command. The user must then press the "Issue Command" button to actually perform the command.

You must be an administrator to perform an update of the database.

Next: SubDistForm.js

Clone this wiki locally