Reply to Re: Trying to get the right registry key through sql script to change listen port

Your name:

Reply:


Posted by BF on 03/08/07 12:55

On 8 mrt, 13:50, "BF" <b...@faessen.net> wrote:
> Hi,
>
> I want the change the SQL listen port of a named 2005 sql instance.
>
> Is there a way I can run an sql query against the named instance which
> gives me back which registry setting I need to use.
>
> so MSSQL.1 MSSQL.2 or MSSQL.3
>
> Or is there another way I can set the listenport through script or
> vbscript for only a specific named instance so if there are other sql
> server instances running they don't get affected.
>
> Thanks Bob

Just found it myself:

HKLM\Software\Microsoft\Microsoft SQL Server\Instance Names\SQL

There are all named instances displayed and so can be read.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация