dbprrow

DB Library for C

DB Library for C

dbprrow

Prints all rows returned from Microsoft® SQL Server™ 2000.

Syntax

RETCODE dbprrow ( PDBPROCESS dbproc );

Arguments

dbproc

Is the DBPROCESS structure that is the handle for a particular workstation or SQL Server 2000 process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server.

Returns

SUCCEED or FAIL.

Remarks

This function displays the rows for a set of query results on the default output device in a format similar to that used by Isql.exe. This function reads and prints all the rows. Although it doesn't require allocating program variables to store the data and calling dbbind, the format is predetermined.

This function can be called after dbresults has succeeded.

When using this function, do not call dbnextrow to loop through the rows.

The dbprrow function is useful for debugging. The output line width is set at 80 columns.

This function is not supported with the Microsoft Windows® operating system.

See Also

dbbind

dbprhead

dbnextrow

dbresults