Is it possible to access database like db2 from c program. If so is this done using some predefined functions in C program or the user has to write some function for achieving the purpose. Tell me a way of doing this.
Printable View
Is it possible to access database like db2 from c program. If so is this done using some predefined functions in C program or the user has to write some function for achieving the purpose. Tell me a way of doing this.
Yes it is possible to access db2 database engine from C or C++. This is called as call level interface. There are many functions present in Call level interface namely like SQLExecute, SQLSetConnetAttr and so on.