Home How To Online Documentation Support Download Order
 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SACommand::ParamCount

int  ParamCount( );
throw (SAException);

Returns the number of parameters associated with the SACommand object.

Remarks

ParamCount method returns the number of parameters created explicitly by using CreateParam method or (if parameters were not created before) creates them implicitly (can query native API if needed and therefore can throw exception on error) and returns the number of created parameters. 

Command parameter is represented by SAParam object. You can look SAParam objects through and assign their values with Param and ParamByIndex methods. Values for the input parameters can also be supplied by operator << .

Server specific notes

No specific information.

See also

setCommandText, CreateParam, Param, ParamByIndex

SAParam

Error handling

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.