1 Reply Latest reply on Aug 28, 2012 10:20 AM by jim dc

    OCI with long double

      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

      Edited by: 955412 on Aug 28, 2012 2:42 AM
        • 1. Re: OCI with long double
          jim dc
          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.