Click here to Skip to main content
16,018,158 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Sqlcmd -L in command prompt
Shows sql servers on the network
but my sql server dont show in other clients by runnig this command
i already setting my remoting options or other firewall setting
how i can do this?
Posted

1 solution

In order to run SQLCMD, you must have Sql Server installed on the PC you are running it on, or access to the SQL installation binaries.
I assume you don't have this - and would not expect a client PC to be able to run it.

Why are you trying to run this on a PC without SQL installed?
 
Share this answer
 
Comments
Hekmat90 6-Jan-12 3:32am    
I have Installed sql server 2008 enterprise in my computer
this show in my computer but dont show in other client computers
OriginalGriff 6-Jan-12 3:46am    
Yes - because SQLCMD comes as part of the SQl Server Management studio. In order to use it on your client PC, you would have to install SQL Server on each - which is a very, very, very bad idea!
Why do you want to run it on each PC?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900