Home | Trees | Indices | Help |
|
---|
|
sql [DB] QUERY
Executes a sql query on a specified database. Occurrences of
formatting directives (e.g. %s
) will be replaced by input
values.
The database is selected by DB
. If DB
matches an osh.sql
profile in .oshrc
, then the
database is specified by that profile. If DB
is omitted,
then the default profile is used.
If QUERY
is a SELECT statement, then the query is
executed and output rows, represented by tuples, are written to output.
If QUERY
is any other type of SQL statement, then no output
is written.
Functions | |||
|
Function Details |
Executes a sql query on a specified database. Occurrences of
formatting directives (e.g. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Oct 3 15:23:48 2010 | http://epydoc.sourceforge.net |