Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: [odbc] SQLDriverConnect with a user identified externally

Re: [odbc] SQLDriverConnect with a user identified externally

From: mark tomlinson <marktoml_at_gdi.net>
Date: Tue, 26 May 1998 14:54:32 GMT
Message-ID: <356ad0f6.411750906@newshost.us.oracle.com>


When connecting to an OPS$ account the usual process is to place a forward
slash (/) in the userid field and leave the password blank. With ODBC the same
thing is achieved by leaving the userid and password fields blank. So how do
you do the same with an OpenDatabase call in VB? The following code extract
demonstrates this:

Connect$ = "ODBC;DSN=" + "LOCAL" + ";" _

& "UID=" + "" + ";" _
& "PWD=" + ""
Set OracleDatabase = OpenDatabase("", False, False, Connect$)

When interactively connecting, simply leave the Username and Password fields BLANK Received on Tue May 26 1998 - 09:54:32 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US