read
, tell the driver we only access the database in
read mode. If update
(default), tell the driver we may
execute update commands.true
(default), each update statement is committed
immediately. If false
, an update statement starts a
transaction that can be committed or rolled-back. See section
2.4 for details on transaction management.dynamic
makes it possible to have multiple active statements on the same
connection with Microsoft SQL server. Other values are static
, forwards_only
and keyset_driven
.unicode
while
on other platforms it is utf8
. Below, the *A() functions
refer to the‘ansi' ODBC functions that exchange bytes and the *W()
functions refer to the‘unicode' ODBC functions that exchange UCS-2
characters.
true
(default false
), statements returning
SQL_SUCCESS_WITH_INFO
succeed without printing the info.
See also section 2.8.1.$null$
. NullSpecifier is
an arbitrary Prolog term, though the implementation is optimised for
using an unbound variable, atom and functor with one unbound variable.
The representation null(_)
is a commonly used alternative.
The specified default holds for all statements executed on this connection. Changing the connection default does not affect already prepared or running statements. The null-value can also be specified at the statement level. See the option list of odbc_query/4.