dbprhead

DB Library for C

DB Library for C

dbprhead

Prints the column headings for rows returned from Microsoft® SQL Server™ 2000.

Syntax

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

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 Microsoft Windows® operating system.

See Also

dbbind

dbprrow

dbnextrow

dbresults