tags:

views:

109

answers:

0

I wrote a little C++/MFC application that allows me to connect to an ODBC database and execute SQL statements. I'm using SQLGetDiagField / SQLGetDiagRec to display meaningful error messages to the user in case of any errors.

Is there a way to receive and disply the database confirmation messages ("table created", "role set", "user dropped", ...) after a statement has been successful executed?

Or do I have to parse the statements myself and assemble my own set of success messages?