The Database query cgi-bin is a Web interfaced perl scrypt (dbquery.pl) that allows you to query and manage data in any served Databases.
Index:
When you call the scrypt in your browser, the served databases and related tables are listed at the beginning in a coloured table that appears to be as the following:
Databases | DB 1 | DB 2 | DB ... | DB n | |||
---|---|---|---|---|---|---|---|
Tables | Table 1 | Table 2 a | Table 2... | Table 2 m | Table ... | Table n a | Table n b |
You can click on all the Table names you need, to select the database and the table of which you want to query and manage data.
The selected database and table are specified below the horizontal row as:
Database: | Database n |
---|---|
Table: | Table n m |
You can insert also a logical operator followed by the Search string
(without spaces between operator and Search string).
Allowed logical operators are:
Operator(1) | meaning | possible search type |
---|---|---|
! | not equal | Exact/Substring |
> | greater than (alphabetical)(2) | Exact |
>= | greater than or equal to (alphabetical)(2) | Exact |
< | less than (alphabetical)(2) | Exact |
<= | less than or equal to (alphabetical)(2) | Exact |
Note (1): if you search a string starting just with a "\" (backslash) or starting with a character used for the operators ( !, >, < ), you must insert a backslash as first character in the search string field. The second charater of the string, if it follows a "\" (or also in the third character of the string, if it follows "<\" or ">\") is not interpreted as a logical operator, but as part of the search string.
Note (2): to get always a consistent answer to a database query based on the alphabetical order selection (via the logical operators), a simple suggestion is to insert always all the fields in the same format, following the rule that the most significant characters be located before the less significant. For example the date field must be inserted always in the same format <YYYYMMDD>; a complete name field must be inserted always in the same format <SURNAME GIVENNAME>.
For each search string you can insert also a logical operator followed by the Search string
(without spaces between operator and Search string) following the rules in the above
table.
mailto: Rosa.Ianni@lnf.infn.it, Massimo.Pistoni@lnf.infn.it |
Last updated: 1999/07/02 12:00