Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SAField::Option

SAString Option(const SAString &sOptionName ) const ;

Gets a string value of a specific field option.

Parameters

sOptionName.    A string key of the field option.

Remarks

Call this method to get value(s) of server specific field options. See Server specific notes.

A field related option may be specified in SAConnection object, SACommand object or SAField object. If it is specified in SAConnection object it affects all the commands and therefore all the fields on that connection. If it is specified in SACommand object it affects all the fields on that command.

If an option is not specified in SAConnection, SACommand and SAField objects, the Library takes the default option's value.

Server specific notes

DBMS client

Specific field options 

Oracle

OCI_ATTR_CHARSET_ID
This option sets the character set ID of the field.
Field related. Should be specified before fetching.
Valid values: String containing Oracle character set name ("US7ASCII", "CL8MSWIN1251", "SF7DEC", etc.) or its numeric value ("1", "171", "21", etc.). See Oracle documentation for more details.
By default SQLAPI++ doesn't change Oracle settings for this option. See Oracle documentation for details.

OCI_ATTR_CHARSET_FORM
This option sets the character set form of the field.
Field related. Should be specified before fetching.
Valid values: "SQLCS_IMPLICIT", "SQLCS_NCHAR". See Oracle documentation for more details.
By default SQLAPI++ doesn't change Oracle settings for this option. See Oracle documentation for details.

See also

setOption

SAConnection::Option, SAConnection::setOption, SACommand::Option, SACommand::setOption

SAConnection, SACommand

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.