Home How To Online Documentation Support Download Order
 

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric

Enums and Typedefs

  

Usage

Class Members

Examples

SAValue::setAsDefault

void setAsDefault( );

Forces DBMS API to use the default parameter value as the input value for an input or input/output parameter in a procedure.

If DBMS API does not support the concept of "default parameter values" in stored procedures, this setting will be ignored.

If you set this flag for the parameter that doesn't have a default value, the effect is DBMS  defined (e.g. an error can be returned or NULL can be bound).

To cancel using the default parameter value you should call any other SAValue::setAs... method to bind a parameter value.

To check whether this flag is set or not use isDefault method.

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.