0 Replies Latest reply: Feb 13, 2013 2:02 AM by 985919 RSS

    OCCI how to insert null and read null

    985919
      Hi,

      I am trying to use setDataBuffer to batch insert data, but one of the column of the table is nullable, so how can I specify the null value for int,string, double, and date?

      Also, how can I read the data and be able to know it is a null using stmt->getInt()?

      Maybe this is too simple question. I am new in the area.

      So thank you.

      Best wishes,

      Michael