Home > Archive > SQL Server JDBC > June 2005 > Sql server messages









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sql server messages
Davy

2005-06-08, 7:23 am

I'd like to use the messages returned by Sql server 2000.

e.g.
BACKUP DATABASE ... WITH STATS = 10
returns a message to the analyser after every 10 percent completion.

I'd like to use these kind of messages with a java client.

Thanks in advance Davy
Davy

2005-06-09, 11:23 am

Is it possible that you can't access server messages with a severity 0 or 1
(information messages).

I can access warning messages usings connection.getWarnings(). Reel server
errors are thrown as exceptions, but there no method like getInfoMessages().

Is there a work arround? To access the information messages like if they
were warnings?

Thanks in advance
Davy

"Davy" wrote:

> I'd like to use the messages returned by Sql server 2000.
>
> e.g.
> BACKUP DATABASE ... WITH STATS = 10
> returns a message to the analyser after every 10 percent completion.
>
> I'd like to use these kind of messages with a java client.
>
> Thanks in advance Davy

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com