Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> oci connect_string & c
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 - 11:36:51 CDT
![]() |
![]() |