Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Thu, 5 Jun 2008 15:02:21 +0200,    group: microsoft.public.vstudio.development        back       


How to change database in SQL   
Hello!

I'm writing application, that will check databases states on a lot of 
servers. I'm using VS2005 and .NET 2.0.
At this moment I have code, that is trying to connect to every database in 
my configuration file. I'm creating new sqlconnection with specified 
database name, getting answer about state (awailable - not available) and 
trying to connect to next database.

How it should looks professionally? :)
I know, that I can use threads for every server and check that all in one 
time. But I would try to do server by server.

Thanks
Leszek
date: Thu, 5 Jun 2008 15:02:21 +0200   author:   Leszek Gruszka

Re: How to change database in SQL   
How should it look professionally? I always prefer them to wear a nice shade 
of lipstick and some lacy underwear.

What the heck are you really trying to ask about?

"Leszek Gruszka"  wrote in message 
news:9E40C456-4613-4065-8066-9C12496BA4D3@microsoft.com...
> Hello!
>
> I'm writing application, that will check databases states on a lot of 
> servers. I'm using VS2005 and .NET 2.0.
> At this moment I have code, that is trying to connect to every database in 
> my configuration file. I'm creating new sqlconnection with specified 
> database name, getting answer about state (awailable - not available) and 
> trying to connect to next database.
>
> How it should looks professionally? :)
> I know, that I can use threads for every server and check that all in one 
> time. But I would try to do server by server.
>
> Thanks
> Leszek
date: Thu, 12 Jun 2008 09:10:57 -0500   author:   clintonG

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us