Solved

SQL Server specify correct named instance

Posted on 2011-03-20
3
344 Views
Last Modified: 2012-05-11
In SQL Server 2008 how do I  make sure that I am specifying correct instance name and that instance name actually exists on target server and is running.

0
Comment
Question by:murbro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Accepted Solution

by:
dbaSQL earned 250 total points
ID: 35177951
In SSMS, you can double click your server to open the Object Explorer, then right click and select Propties, General Tab.  Here you will see the sql server instance name.

You can also do this with a query by executing the following:

SELECT @@SEVERNAME
0
 
LVL 9

Assisted Solution

by:kaminda
kaminda earned 250 total points
ID: 35178099
If this from your Application's perspective, you will get an error describing the situation of your server instance name, you can catch that. Also there are plenty of scripts on the web to get all the SQL instances available in your network,

This link will help you to do tihs
http://social.msdn.microsoft.com/forums/en-US/adodotnetdataproviders/thread/fda283ef-5a8b-424d-b549-074ccc19c8d7
0
 

Author Closing Comment

by:murbro
ID: 35178929
thanks for the help
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Database Restore 2008 R2 1 41
Estimating my database size 7 51
Can a Trigger trigger a Trigger? 4 47
Adding columns to a table which has non null columns 3 42
I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question