
db_name
is the identifier established for the non-default database.
For more information on this command, see Programmer's Guide to the Oracle Precompilers.
Example
This example illustrates the use of a DECLARE DATABASE statement:
EXEC SQL DECLARE oracle3 DATABASE
CONNECT command
DECLARE CURSOR command
DECLARE STATEMENT command
DELETE command
EXECUTE command
EXECUTE IMMEDIATE command
INSERT command
SELECT command
UPDATE command ![[*]](jump.gif)