Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

Using ODBC SQL_OV_ODBC3_80 with SQL Server Native Client 11 driver within a C++ app.

Trouble is that several stored procedures have print statements which is breaking the ODBC calls.

Is there anyway I can get round this without removing the print statements?

Cheers.

Found the soloution

What I have tried:

I just need to know if ODBC supports the TSQL print statement
Posted
Updated 17-Oct-17 7:29am
v2

1 solution

If I recall correctly, you should investigate the SQLSTATE in order to decide if the error is a real error or a warning.

Have a look at Appendix A: ODBC Error Codes | Microsoft Docs[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900