|
|
|
SSCertifiable
       
Group: Moderators
Last Login: Thursday, May 09, 2013 12:38 PM
Points: 6,462,
Visits: 1,384
|
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Monday, November 24, 2003 12:00 AM
Points: 125,
Visits: 1
|
|
One thing I would like to contribute is regarding the connection string. Although it is true that opening database connections is one of the time consuming operations and connection pooling helps reducing it(if connection strings are exactly the same). However I am not sure how connection pooling will be implemented in typical 2 tier applications,Yes as far a I know connection pooling is one of the services used by MTS in 3 tier architecture and also IIS uses it. SO I presume that the suggestions provided in the article would hold true for 2 tier applications. If any one can has tested the same on 3 tier architectures and found any performance degradtion can share their comments..
Relationships are like Banks.You Invest the Principal and then get the Interest.
He who knows others is learned but the wise one is one who knows himself.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, November 14, 2012 4:48 AM
Points: 1,
Visits: 2
|
|
| Nice enhancement. I have several components that are running and I would like for the same connection change the 'Application Name'. It seems that this is a read only parameter. Do you know by any chance if there is a way to change the application name or another property that could be used so that can be set when the query is done while maintaining the same connection?
|
|
|
|
|
SSCertifiable
       
Group: Moderators
Last Login: Thursday, May 09, 2013 12:38 PM
Points: 6,462,
Visits: 1,384
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, March 23, 2011 1:36 PM
Points: 17,
Visits: 13
|
|
Yes, good article, Connection strings well written saves lots of time when maintaining an Application. This is very good. I have used this method in the past when we had to to do rapid re-deploys and talk about a time saver.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, July 30, 2012 1:23 PM
Points: 290,
Visits: 44
|
|
It's funny and everything to use the phrase "baaad developer", but the problem is, I have to edit the article to show it to the developers. I'm not sure this sort of contention is a good thing anyway...
John Scarborough MCDBA, MCSA
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, August 26, 2009 7:04 AM
Points: 5,
Visits: 16
|
|
In case of the client using Microsoft Access, the baaad developer is actually Microsoft. Access Project purposely puts developer's machine name into the connection string when it connects to the server. I have been reporting this to Microsoft probably already for ten years in beta programs of both Office and SQL Server, but with Microsoft beta programs being nothing but marketing campaigns, it was of course to no avail. Eventually, I had to write small application that performs binary patch of the compiled Access database and erases the machine name right from the file.
And I'm pretty sure that Access is not the only application that does it. I bet Excel/Query Designer does the same.
|
|
|
|