Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Enterprise
Expertise: Beginner
Sep 12, 2002

Get a List of Sqlservers to Run on a Local Network Through Query Analyzer

 
// this Command will return the server Names running on local Network

Exec Master..xp_CmdShell 'osql -L'

OUTPUT Eg:

Servers:
    Server1
    Server2
    Server3
    Server4
    Server5
Phani Kumar
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date