Question

I want to change the default port number 1433 to another in SQL server 2008. Is there any command line option for this? I know that how to change the port number through SQL Server Configuration Manager but I need to change this from my java application.

Any idea about this

Était-ce utile?

La solution

There is no command line utility, but you can do it with WMI. There is an MSDN blog about it here: https://serverfault.com/questions/123411/change-port-number-via-command-line-in-sql-server-2005

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top