solidDB Help : solidDB reference : solidDB SA: Function reference : SaCursorColFloat
  
SaCursorColFloat
SaCursorColFloat binds a user variable of type float to a database column.
After the variable has been bound, it can be used to hold a value that will be written to or read from a column, or that will be used to constrain a search operation (for example, as part of the equivalent of a WHERE clause in SQL). In search operations, the user variable is updated to contain the value read from the current row that has been retrieved. Also, if search criteria are involved, this function can be used to pass the values for them. In update and insert operations, the new value is taken from the bound user variable and then written to the column in the database.
Note The C-language "float" data type corresponds to the SQL "SMALLFLOAT" data type, not the SQL "FLOAT" data type.
See SaCursorColDynData for a more detailed discussion of binding variables.
Synopsis
SaRetT SA_EXPORT_H SaCursorColFloat(
  SaCursorT* scur,
  char* colname,
  float* floatptr)
Parameters
The following table describes the parameters:
 
Parameters
Usage type
Description
scur
in, use
Pointer to a cursor object
colname
in, use
Column name
floatptr
in, hold
Pointer to the user variable
Return value
SA_RC_SUCC or error code.
See also
SaCursorColDouble
SaCursorColFloat
Go up to
solidDB SA: Function reference