I'm developing a C++ library with oracle OCI library. I'm loading from a Oracle Database 11g database. Here I need to load large values with decimal places. In this case I need to use long double instead of double. I'm not sure whether OCI supports for long double.
According to the documentation SQLT_FLT is for float and double only. Can someone let me know whether OCI supports for long double and if so how to retrieve them
Do you mean the OCCI library - if its actually OCI then you are in the wrong forum - see the one called 'Call Interface'
For OCCI you should be able to handle long doubles with getNumber() and setNumber() - see http://docs.oracle.com/cd/E11882_01/appdev.112/e10764/reference022.htm#LNCPP21312 and search on long double in there. Ive never tried it though.