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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement