solidDB Help : solidDB reference : solidDB SA: Function reference : SaCursorSearchByRowid
  
SaCursorSearchByRowid
SaCursorSearchByRowid starts a new search where the row specified by rowid belongs to the search set.
SaCursorSearchByRowid searches only according to rowid, so it returns one row or zero rows. Previous search constraints are not removed, and they become effective in the next SaCursorReSearch call.
To get the rowid for a particular record, read the value of the rowid column. Every table has a rowid column; you do not need to explicitly create a rowid column within a CREATE TABLE or ALTER TABLE statement.
Synopsis
SaRetT SA_EXPORT_H SaCursorSearchByRowid(
  SaCursorT* scur,
  void* rowid,
  int rowidlen)
Parameters
The following table describes the parameters:
 
Parameters
Usage type
Description
scur
in, use
Pointer to a cursor object
rowid
in, use
Pointer to a data area containing rowid. The rowid should be in the form of a string (char *) despite the fact that it is declared as "void *".
rowidlen
in
Length of data (string) pointed to by the rowid parameter
Return value
SA_RC_SUCC, SA_RC_END, or error code.
Go up to
solidDB SA: Function reference