Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SQLGetDiagRec question

1 view
Skip to first unread message

John Quan

unread,
Apr 9, 2001, 11:23:15 AM4/9/01
to
I am currently the PRINT statement to try and return standard output to my
applicatoin. Apparently, in order to view these PRINT statements, I must look
use the SQLGetDiagRec method to view these statements. How do I call the
SQLGetDiagRec method? What parameters does it require and what do I pass to it?
Thanks in advance.

Alan Brewer

unread,
Apr 9, 2001, 6:04:13 PM4/9/01
to
This is discussed in the SQL Server 2000 Books Online topic:

Building SQL Server Applications
ODBC and SQL Server
Programming ODBC SQL Server Applications
Handling Errors and Messages
Diagnostic Records and Fields

The topic has a code fragment if you click on the ODBC icon under To process
ODBC errors at the bottom of the topic.

--
Thanks,
Alan Brewer
Microsoft SQL Server
Documentation Lead


0 new messages