Solved

SQL Connect string - Specifying the Port

Posted on 2014-11-11
2
89 Views
Last Modified: 2014-11-11
Say, is there a parameter and what is it in order to specify the Port to connect to SQL?
0
Comment
Question by:shaunwingin
  • 2
2 Comments
 
LVL 47

Expert Comment

by:Vitor Montalvão
ID: 40434514
Instead of the ServerName\InstanceName you can use ServerName,PortNumber or IP,PortNumber.
0
 
LVL 47

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40434516
But use it only if the Port Number is static. Don't use Port Number for dynamic configurations.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sqlquerystress - To test db performance 8 41
Abstract Express Replacement Software 12 23
Need help on t-sql 2012 10 53
insert wont work in SQL 14 20
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

776 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