MemCom Reference Manual > MemCom C API Manual Pages > Sparse Table Functions > mcSTrowNum

Name

mcSTrowNum — Get the current number of rows for a sparse-table dataset

Synopsis

#include <memcom.h>

mcInt64 mcSTrowNum(int dsid);

Description

mcSTrowNum returns, for the sparse-table dataset identified by dsid, the current number of rows. For a newly-created dataset or an emptied dataset, the number of rows is 0.

Parameters

dsid (input)

Dataset identifier.

Return Value

If completed successfully, the number of rows is returned. Otherrwise, a negative value indicating the MemCom error number is returned.

See Also

mcDBinqSetAtt, mcSTdatasetClear, mcSTrowAppend