This content has been marked as final. Show 1 reply
This forum is about C++ programming in general, and using Oracle Solaris (formerly Sun) Studio C++ in particular.
Embedded SQL is not part of standard C++, and is not supported by Studio C++. I don't know whether g++ has direct support for embedded SQL. You should ask about that in a g++ forum, or possibly in a Red Hat forum in your case.
If you are trying to use SQL with Oracle Database, you need to compile the C++ source code with Pro*C, which translates embedded SQL into library calls, and links with the Oracle DB library. Although Pro*C is provided in Studio 12.3 as part of the OBI extensions, the best place to ask about Pro*C is in an Oracle database programming forum. You can start here: