Use a comma to specify a port number with SQL Server:
mycomputer.test.xxx.com,1234
It’s not necessary to specify an instance name when specifying the port.
Lots more examples at http://www.connectionstrings.com/. It’s saved me a few times.
More Related Contents:
- Max Nbr of Months W/ No Activity in Past 12 Months
- Export from SQL Server to Excel
- hide/remove header and footer
- How do I generate a random number for each row in a T-SQL select?
- Auto increment primary key in SQL Server Management Studio 2012
- SQL Server Linked Server Example Query
- Combine multiple results in a subquery into a single comma-separated value
- Infinite loop CTE with OPTION (maxrecursion 0)
- How do you view ALL text from an ntext or nvarchar(max) in SSMS?
- SQL Server: SELECT only the rows with MAX(DATE)
- Floor a date in SQL server
- PIVOT in sql 2005
- Atomic UPSERT in SQL Server 2005
- LEN function not including trailing spaces in SQL Server
- How FOR XML PATH(”) works when concatenating rows
- How to view transaction logs in SQL Server 2008 [closed]
- Scheduled run of stored procedure on SQL server
- SQL Server ORDER BY date and nulls last
- SSRS 2014 report deploy issue
- Best way to implement an audit trail in SQL Server?
- Set start value for column with autoincrement
- tsql returning a table from a function or store procedure
- How to update primary key
- How to determine the field value which can not convert to (decimal, float,int) in SQL Server
- Making an Entity Framework Model span multiple databases
- SQL Server 2008 Row Insert and Update timestamps
- Trouble Connecting to sql server Login failed. “The login is from an untrusted domain and cannot be used with Windows authentication”
- SQL SERVER – Understanding how MIN(text) works
- How to convert text column to datetime in SQL
- How to calculate difference in hours (decimal) between two dates in SQL Server?