oci connect_string & c

From: Jesse Waters <jcwaters_at_wfubmc.edu>
Date: Wed, 9 Oct 2002 12:36:51 -0400
Message-ID: <ao1lur$1bu0$1_at_f1n1.spenet.wfu.edu>



How do programmatically set the right connect_string using OCI? I see that to set the username and password that I use OCIAttrSet but I don't know the correct way to set the database to which I will connect.

As an example when I login to sqlplus I must use: sqlplus> username/password_at_connect_string to get in. The connect_string points me to the right database. I know I must do this in my c code as well I just do not know how. Any takers?

Thankx,
Jesse. Received on Wed Oct 09 2002 - 18:36:51 CEST

Original text of this message