Solved

Connection string using dns name

Posted on 2009-04-08
2
953 Views
Last Modified: 2012-05-06
I read an article about how to use dns alias instead of server names in teh connection strings. but in the article the use a name like instead of SERVERA you could use SQLPROD.

http://www.databasejournal.com/features/mssql/article.php/3742136/Connection-Strategy-for-Multiple-Database-Environments.htm


My question is that will a connection string use a full FQDN DNS name like sqlprod.contoso.com  ?

In the article they specified another name which is not neccessary a dns alias,  it would probably still use wins first.

Thanks.
0
Comment
Question by:quippee
2 Comments
 
LVL 32

Accepted Solution

by:
Daniel Wilson earned 500 total points
ID: 24103579
You can certainly use an FQDN.  You just want to use a name that your client can readily resolve to the server -- by one means or another.  Actually, if there's any ambiguity on your network, an FQDN is probably the safest & smartest option.
0
 

Author Closing Comment

by:quippee
ID: 31568036
Thank. we will try it out.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
insert into table 8 22
Sql Stored Procedure 65 26
SQL SELECT query help 7 34
How To Convert Date Stored as Varchar as an MSSQL DATE Type Field In a VIEW 3 21
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
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.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

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