You can specify additional CONNECT statement syntax, when you set the precompiler option COMPATIBILITY_MODE to ORA.
EXEC SQL CONNECT TO dbname;
EXEC SQL CONNECT TO dbname USER username USING password;
EXEC SQL CONNECT [ username IDENTIFIED BY password ][ USING dbname ] ;
Parameter | Description |
---|---|
username | Either a host variable or a string that specifies the database user name |
password | Either a host variable or a string that specifies the password |
dbname | Either a host variable or a string that specifies the database name |