Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Multiple database connect in embedded SQL/C
I do not know how to
connect to a specific database
using embedded SQL for C.
Currently I have the only one database
on Oracle server, soon we are going to
create the other database for testing.
In a 'C' program we use the following
syntax to connect to database (which is
currently one and default):
" EXEC SQL CONNECT :userid IDENTIFIED BY :password; "
How to specify in the program to what particular database to connect to?
Thank you very much in advance
Yulia Received on Wed Feb 23 2000 - 20:03:50 CST
![]() |
![]() |