 SQL database system |
Manual page for sqlmode(TDH)
SQLMODE
SQLMODE is a shsql SQL command extension that allows the
setting of certain shsql-specific modes. Each setting affects all
shsql activity conducted by the process making the setting.
Usage is:
SQLMODE modename value
Modes
debugmode
Default is 0.
If set to 1 or 2, diagnostic output will be
written to standard error. 2 gives additional output
related to index lookups.
This may also be set via the
config file
or on the
shsql(1) command line.
logcommands
This option allows submitted SQL commands to be saved in a file for debugging purposes.
Value is a pathname. To turn off logging, use: logcommands no.
errormode
Default is stderr.
If set to stdout or cgi, error messages (but not debug info) are written to standard output.
translog
Default is 1, meaning that database transaction logs are generated for
each insert, update, or delete.
If set to 0, transaction logs are not generated.
retain_und
Default is no.
If set to yes, embedded underscores within
data fields will be retained (normally they are assumed
to represent spaces and are converted by SHSQL_getrow() for
output purposes).
Usually put in effect only for a specific retrieval
and then set back.
writelock_ntries
Default is 8.
If set to a higher number, the given number of tries will be attempted when
trying to write to a table that is write-locked.
This may also be set via the
config file.
maxrows_select
Default is 2000.
This is the maximum number of rows that can be retrieved by a SELECT.
This may also be set via the
config file
or on a command-by-command basis using the MAXROWS keyword.
maxrows_update
Default is 2000.
This is the maximum number of rows that can be affected by an UPDATE or DELETE.
This may also be set via the
config file
or on a command-by-command basis using the MAXROWS keyword.
wildcard
Wild-card character in WHERE clause. Default is *.
wildcard1
Single-character wild-card character in WHERE clause. Default is ?.
|

Copyright Steve Grubb
|