How to use SQL Server alias?

Posted on 2011-03-25
Last Modified: 2012-05-11
I set up a SQL Server Alias 'Appdev' in SQL Server Configuration Manager. And could connect the alias through "sqlcmd -Sappdev -Uusername -Ppassword" from the window server. But I couldn't connect from my PC (XP Windows). How to use SQL Server alias from client?
Question by:luyan
  • 3
LVL 14

Expert Comment

ID: 35216622
On client machine:
click on Start->run (type) cliconfg.exe
clieck on tab alias and define your alias
LVL 14

Accepted Solution

Daniel_PL earned 500 total points
ID: 35256941
You can also set up alias in SQL Server configuration manager.
Here's great article about it:

After defining alias you are able to use it instead of server name or address while connecting in ssms.

Author Closing Comment

ID: 35395489
LVL 14

Expert Comment

ID: 35395604
You're welcome ;)

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Query 2 63
Sql Data via Excel--performance issues 2 56
2 comma seperated list - SQL Server 12 44
Urgent help needed! Unable to to paste in query designer 29 48
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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