Previous Topic Next topic Print topic


Connect Using a JDBC Connection String

To connect without using a DataSource object, use the following embedded SQL syntax:
EXEC SQL  
  CONNECT USING DRIVER=driverClass;URL=JDBC-URL; 
END-EXEC

Where driverClass identifies the main class of the driver to be used for the connection, and JDBC-URL identifies the server and database, and may also include connection property values.

Previous Topic Next topic Print topic