pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rut <rutl@earthlink.net>
To: pgsql-questions@postgresql.org
Subject: sql question
Date: Fri, 14 Jan 2000 22:16:50 GMT
Message-ID: <387FA13A.1C926363@earthlink.net> (raw)

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




view thread (71+ messages)  latest in thread

Message-ID: <387FA13A.1C926363@earthlink.net>
Permalink:  ../387FA13A.1C926363@earthlink.net/
Also on:    postgresql.org/message-id/387FA13A.1C926363@earthlink.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rutl@earthlink.net, pgsql-questions@postgresql.org
  Subject: Re: sql question
  In-Reply-To: <387FA13A.1C926363@earthlink.net>
  References: <387FA13A.1C926363@earthlink.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox