Aug 8, 2007 #1 insanity1 Technical User Nov 30, 2004 40 CA running osql -L on an application server is not outputting instance names from the SQL systems on our network... just listing the server names... Any ideas on why?
running osql -L on an application server is not outputting instance names from the SQL systems on our network... just listing the server names... Any ideas on why?
Aug 8, 2007 #2 gmmastros Programmer Feb 15, 2005 14,901 US try SQLCMD. http://www.microsoft.com/downloads/...60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en Scroll down to Microsoft SQL Server 2005 Command Line Query Utility The parameter would be the same: Code: sqlcmd -L -George "the screen with the little boxes in the window." - Moron Upvote 0 Downvote
try SQLCMD. http://www.microsoft.com/downloads/...60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en Scroll down to Microsoft SQL Server 2005 Command Line Query Utility The parameter would be the same: Code: sqlcmd -L -George "the screen with the little boxes in the window." - Moron
Aug 10, 2007 #3 JohnBates MIS Feb 27, 2000 1,995 US insanity1, I used the same command just this week and had the same results. But for 1 machine, it did return the instance name - this was my pc which has a named instance of SQL Server 2000 on it. My guess is that if the instance is the default name MSSQLSERVER, it does not return the instance name. Not sure that's the reason though. I get the same result when I use sqlcmd -L. John Upvote 0 Downvote
insanity1, I used the same command just this week and had the same results. But for 1 machine, it did return the instance name - this was my pc which has a named instance of SQL Server 2000 on it. My guess is that if the instance is the default name MSSQLSERVER, it does not return the instance name. Not sure that's the reason though. I get the same result when I use sqlcmd -L. John