sql question

From: rut <rutl(at)earthlink(dot)net>
To: pgsql-questions(at)postgresql(dot)org
Subject: sql question
Date: 2000-01-14 22:16:50
Message-ID: 387FA13A.1C926363@earthlink.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Using vb6 and ado 2.1 if I open a connection string like so:

Public Sub setup()

Dim cnn1 As ADODB.Connection
Dim rstEmployees As ADODB.Recordset
Dim strCnn As String
Dim varDate As Variant

' Open connection.
strCnn = "Provider=sqloledb;" & _
"Data Source=srv;Database=db; "
Set cnn1 = New ADODB.Connection
cnn1.Open strCnn

End Sub

Will this code still try to send the username (machine name) to the sql
server for authentication even though it is not explicitly sent here?

Also, If the Provider is not specified, does the system revert to an
odbc driver vs the ole driver?

Please email if possible:

rutledgj(at)earthlink(dot)net

Browse pgsql-general by date

  From Date Subject
Next Message Neil Burrows 2000-01-14 22:41:25 More Rule creation problems (and nowhere near 8K)
Previous Message Alfred Perlstein 2000-01-14 21:53:30 Re: [GENERAL] cgi with postgres