For connecting a DB (Oracle in this case) in JDBC I know the follow
java instructions:
Class.forName("oracle.jdbc.driver.OracleDriver");
String dbUrl = "jdbc:oracle:thin:@"+host+":"+port+":"+sid;
Connection m_connection = DriverManager.getConnection(dbUrl, user,
passwd);
Statement m_statement = m_connection.createStatement();
Now, I'd like to know the equivalent instructions in c language using
ODBC for connecting a Postgres database.
Please, could anyone help me and tell me which these instructions are?
Thanks and bye,
Maus