Menu

SSCursor

Help
Rob Davis
2004-08-13
2012-09-19
  • Rob Davis

    Rob Davis - 2004-08-13

    Hello All

    I am at a point where I am getting some large result sets and would like to store said result set on the server and fetch the rows one by one.  If I use the regular cursor I am able to get the rowcount and everything works fine.  However, using SSCursor and then trying to get the rowcount returns a huge number.  Are there any nuances of doing server side stores that I am missing. ?

     
    • Andy Dustman

      Andy Dustman - 2004-09-07

      Yeah.

      rowcount() doesn't work on SSCursors until you have fetched all the rows. This is a limitation of MySQL's mysql_use_result().

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.