dbiscount

DB Library for C

DB Library for C

dbiscount

Indicates whether or not the count returned by dbcount is real.

Syntax

BOOL dbiscount ( PDBPROCESS dbproc );

Arguments

dbproc

Is the DBPROCESS structure that is the handle for a particular workstation or Microsoft® SQL Server™ 2000 process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server. Unlike the functions dbsetopt and dbclropt, dbproc cannot be NULL here.

Returns

TRUE if the count returned by dbcount is real or FALSE if the count returned by dbcount is not real.

Remarks

You can have commands that return or affect 0 or more rows and commands that do not affect rows. In both cases, dbcount returns 0.

Calling dbiscount after dbcount determines whether the count is real.

See Also

dbcount