Sergey,
I'm assuming that it must be possible through ODBC because we have a tool similar to the MS query analyzer that uses ODBC and gets this info from databases other than MS SQL Server. It probably works with the ODBC API somehow, I'm guessing. "I'm guessing" is the operative phrase here because I have never worked with an ODBC API. Looks like I get to explore it now!
Thanks for the DMO suggestion.
Gary
>>Does anyone know how to capture ODBC result info such as the string from a 'PRINT @cMyText' statement or the "1 row affected' from an UPDATE statement, etc.? AERROR() lets me show error info. I need an AOK() function! Thanks.
>>
>Hi Gary,
>
>I don't think you can do that with ODBC or ADO. You may take a look at SQL-DMO server object ExecuteWithResultsAndMessages2 method.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only