dbprrow

Prints all rows returned from SQL Server.

Syntax

RETCODE dbprrow ( PDBPROCESS dbproc );

where

dbproc
Is the DBPROCESS structure that is the handle for a particular workstation/ SQL Server 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 Windows operating system.

See Also

dbbind, dbnextrow, dbprhead, dbresults