sql question - Mailing list pgsql-general

From rut
Subject sql question
Date
Msg-id 387FA13A.1C926363@earthlink.net
Whole thread Raw
List 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@earthlink.net


pgsql-general by date:

Previous
From: moebius@ip-solutions.net
Date:
Subject: New To List
Next
From: Alfred Perlstein
Date:
Subject: Re: [GENERAL] cgi with postgres