Programmer Guide : solidDB® SA : solidDB® SA function reference : SaCursorColDateFormat
  
SaCursorColDateFormat
SaCursorColDateFormat binds date format string to a database column.
In search operations, the user variable is updated to contain the value of the current row. Also, if search criteria are involved, this function is used to pass the values for them. Depending on the column data type, the format string should be date, time, or timestamp format.
Synopsis
SaRetT SA_EXPORT_H SaCursorColDateFormat(
  SaCursorT* scur,
  char* colname,
  char* dtformat)
Parameters
Parameters
Usage type
Description
scur
in, use
Pointer to a cursor object
colname
in, use
Column name
dtformat
in, hold
Date/time/timestamp format string
Return value
SA_RC_SUCC or error code.
See also
See SaCursorColDynStr for a more detailed discussion of binding variables. For explanation of possible date/time/timestamp formats, see SaDateToAsciiz.
See also
solidDB® SA function reference