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 -> Multiple database connect in embedded SQL/C

Multiple database connect in embedded SQL/C

From: Yulia <yuliam_at_catuity.com>
Date: Thu, 24 Feb 2000 13:03:50 +1100
Message-ID: <38b49177@news1.idx.com.au>


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

Original text of this message

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