Product Documentation

c-treeACE V11.0 Update Guide

Previous Topic

Next Topic

c-treeACE SQL Direct SQL ctsqlGetNumericParameterAsString

In V11 and later, DSQL exposes a method to retrieve a numeric parameter as a string.

Function

ctsqlGetNumericParameterAsString

Retrieve the Numeric parameter as string.

Parameters

  • hCmd [IN] - Command handle.
  • index [IN] - Parameter number. Must be a number greater or equal to zero but less than parameter count.
  • buffer [IN] - String buffer pointer.
  • length [IN] - String buffer size.

Return

Return error code or 0 on success.

Example

CTSQLRET ctsqlDECL ctsqlGetNumericParameterAsString(pCTSQLCMD hCmd, INTEGER index, CTSQLCHAR* buffer, INTEGER length)

TOCIndex