DragonFly On-Line Manual Pages

Search: Section:  


sqlr-fields(1)                     SQL Relay                    sqlr-fields(1)

NAME

sqlr-fields - list fields in a table

SYNOPSIS

sqlr-fields -host host -port port -socket socket -user user -password passwd -table table sqlr-fields [-config configfile] -id id -table table

DESCRIPTION

The sqlr-fields command returns a comma seperated list of the fields in the table specified by the table argument to standard output.

OPTIONS

-host host hostname of the machine running the listener daemon -port port port number the listener daemon is listening on, for local or remote connections -socket socket socket the listener daemon is listening on, for local connections -user user SQL Relay user name (as per config file) -password passwd SQL Relay password (as per config file) -config configfile config file to use (default /etc/sqlrelay/sqlrelay.conf) -id id instance to use (as per config file) -table table table to be described

EXAMPLES

sqlr-fields -socket /tmp/examplesocket -user fred -password secret -table tbl Connect to the SQL Relay listener daemon running on the local machine, with socket /tmp/examplesocket, as user fred, with password secret, and return the fields in table tbl. sqlr-fields -host dbsvr -port 9000 -user fred -password secret -table tbl Connect to the SQL Relay listener daemon running on the remote machine dbsvr, on port 9000, as user fred, with password secret, and return the fields in table tbl. sqlr-fields -id example -table tbl Connect to the SQL Relay listener daemon for instance example (as defined in /etc/sqlrelay/sqlrelay.conf), and return the fields in table tbl.

SEE ALSO

sqlr-query(1), sqlrsh(1), sqlr-cachemanager(8), sqlr-connection(8), sqlr-listener(8), sqlr-scaler(8), sqlr-start(8), sqlr-stop(8), and the documentation in /usr/share/doc/sqlrelay.

AUTHORS

This manual page was written by Andreas Tille <tille@debian.org> and Florian M. Weps <fweps@pop.agri.ch>, for the Debian GNU/Linux system (but may be used by others). list fields in a table 2002-06-10 sqlr-fields(1)

Search: Section: