solidDB Help : solidDB reference : solidDB SA: Function reference : SaCursorLike
  
SaCursorLike
SaCursorLike specifies a like criterion for a column.
The value cannot contain any wild card characters like _ or % in SQL. If such characters exist in the column value, they are quoted with escape characters by the system. Thus, the like value is effectively the same as the SQL like with no wild card characters ending with a % character. For example, if you specify that the engine should search for "MARK" in the column, then the engine will find all values that start with "MARK", such as "MARK", "MARK SMITH", and "MARKETING".
The like value is taken from the user variable bound to the column.
Synopsis
SaRetT SA_EXPORT_H SaCursorLike(
  SaCursorT* scur,
  char* colname,
  int likelen)
Parameters
The following table describes the parameters:
 
Parameters
Usage type
Description
scur
in, use
Pointer to a cursor object
colname
in, use
Column name
likelen
in
Length of like part (excluding the string terminator)
Return value
SA_RC_SUCC or error code.
Go up to
solidDB SA: Function reference