Could you give me an example in c++ of inserting a blob in an Oracle database using ODBC API? It’s my first time working with BLOB type so it is abstract to me. I have researched the Internet a lot and now it is all messy in my head. An example would really help me.
Could you give me an example in c++ of inserting a blob in an
Share
I have a short(ish) example in C. The basic principle to insert blobs via ODBC is this:
In example code here you’ll have to write your own do_a_error() function but it just calls SQLGetDiagRec.