Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric

Enums and Typedefs

  

Usage

Class Members

Examples

SAConnection::setOption

SAString &setOption(const SAString &sOptionName);

Sets a string value of a specific connection or command option.

Parameters

sOptionName.    A string key of the connection or command option.

Remarks

Call this method to set value(s) of server specific connection or command options. See Server specific notes.

A connection related option must be specified in a  SAConnection object.

If an option is not specified in SAConnection objects, the Library takes the default option value.

setOption method is safe to use in cross-server applications. An option related to a particular server does not affect others. 

Server specific notes

Oracle specific options

SQL Server (OLE DB) specific options

SQL Server (DB-Library) specific options

Sybase specific options

DB2 specific options

Informix specific options

InterBase specific options

SQLBase specific options

MySQL specific options

PostgreSQL specific options

ODBC specific options

See also

Option

Command::setOption, Command::Option

SACommand, SAString

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.