How to find the list of SQL servers in network?
OSQL -L
Syntax:
Run osql -L from command prompt.
You have the list of sql servers running in network..
C:\osql -l >>C:\sqlservers.csv
More details @ http://msdn.microsoft.com/en-us/library/aa214012(v=SQL.80).aspx
Syntax:
Run osql -L from command prompt.
You have the list of sql servers running in network..
C:\osql -l >>C:\sqlservers.csv
More details @ http://msdn.microsoft.com/en-us/library/aa214012(v=SQL.80).aspx
Comments
Post a Comment