dbprhead

Prints the column headings for rows returned from SQL Server.

Syntax

void dbprhead ( 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.

Remarks

This function displays the column headings for a set of query results on the default output device in a format similar to that used by ISQL.EXE. The format is compatible with the format used by dbprrow. The output width is set at 80 columns.

You can call dbprhead after dbresults has succeeded.

The dbprhead function is useful for debugging.

The dbprhead function is not supported with the Windows operating system.

See Also

dbbind, dbnextrow, dbprrow, dbresults