Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetParameterName

Support was added in V11 to be able to retrieve the name of a parameter (which makes sense only for named parameters, i.e. ":param"). The following function was added to the FairCom DB SQL Direct SQL API (ctsqlapi.dll) to retrieve parameter names:

Function:

ctsqlGetParameterName

Description:

Retrieve the parameter name (when using named parameter ":name").

Parameters:

  • hCmd [IN] - Command handle
  • index [IN] - Parameter number. This must be a number greater or equal to zero but less than the parameter count.

Return:

Returns the parameter name.

TOCIndex