solidDB Help : solidDB reference : 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.
See SaCursorColDynStr for a more detailed discussion of binding variables. For explanation of possible date/time/timestamp formats, see SaDateToAsciiz.
Synopsis
SaRetT SA_EXPORT_H SaCursorColDateFormat(
  SaCursorT* scur,
  char* colname,
  char* dtformat)
Parameters
The following table describes the 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.
Go up to
solidDB SA: Function reference