Re: ODBC/OLE DB Connection Pool

From: Stuart Carnie (StuartCarnie_at_newsgroup.nospam)
Date: 11/29/04


Date: Mon, 29 Nov 2004 15:48:03 -0700


"Erland Sommarskog" <esquel@sommarskog.se> wrote in message
news:Xns95B0EC9C1A6B6Yazorman@127.0.0.1...
> Stuart Carnie (StuartCarnie@newsgroup.nospam) writes:
> > "Provider=SQLOLEDB;Data Source=mySQLServer;Initial Catalog=pubs;User
> > ID=sa"
> >
> > is treated differently to
> >
> > "Provider=SQLOLEDB;Data Source=mySQLServer;Initial Catalog=pubs;User
> > ID=SA"
> >
> > where I have changed the case of SA, despite the fact SQL Server treats
> > these the same.
>
> That depends on the server collation. If the server collation is case-
> sensitive - and mines always are - then 'sa' and 'SA' are two different
> users.
>
> Thanks for a very interesting post!
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp

Fair enough :) My demonstration was the sensitivity of the string and / or
properties - other things such as one connection containing a Workstation ID
property and another lacking it will also cause a new connection to be
established..

No worries - hope it helps!

Cheers,

Stu



Relevant Pages

  • Re: Error "SQL Server does not allow remote connections"
    ... The application could not connect to the sql server db. ... network is blocking the connection. ... SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 ... integratedSecurity, SqlConnection owningObject) +737554 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Connection from remote computer to network SQL Server
    ... There is no firewall on the W2K machine acting as the SQL server. ... I tried making the SQL machine a "trusted" on the router. ... connection works. ... To find the IP address of your computer inside the network, ...
    (microsoft.public.access.adp.sqlserver)
  • ADO.net Orcas Samples Install Problem
    ... An error has occurred while establishing a connection to the server. ... When connecting to SQL Server 2005, this failure may be caused by the ... SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, ... or am I better off with a full SQL Server install. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: OpenDataSource SQL Server xpress problem
    ... I tried your suggestions with some success. ... I tried setting up the .odc file through the Word Mail Merge wizard as ... If I work through the dialog to connect and then click the 'Test Connection' ... but I suspect it's because until recently most SQL Server ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Exception trying to import data from Excel .
    ... An attempt to install Microsoft SQL Server 2005 this week has not gone ... The connection type "EXCEL" specified for connection manager ... to create a connection manager for an unknown connection type. ...
    (microsoft.public.sqlserver.tools)

Quantcast