Example: lrd_open_connection

In the following example, the lrd_open_connection function opens a connection to a Oracle database after initializing the environment with lrd_init (in the vuser_init section).

lrd_open_connection(&Con1, LRD_DBTYPE_ORACLE, "bb", "lion", "hammer", "", 0, 0, 0);
lrd_open_cursor(&Csr1, Con1, 0);