0 Replies Latest reply on Aug 31, 2012 12:48 PM by 959304

    OCCI-Resultset caching into structure pointer


      How do we cache the values of a query into a structure pointer??

      for eg:

      A_t *pstmtInfo    = NULL;
      ResultSet *rs;

      string sql = select * from ABC;
      rs = sqlstmt->executeQuery();
      while(rs->next()== true)
      // data to be stored

      Can someone explain how to store the data and how to increment pointer such that we can store n number of rows