Product Documentation

c-treeACE V11.0 Update Guide

Previous Topic

Next Topic

c-treeACE SQL Direct SQL 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 c-treeACE 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