stig1 Posted March 25, 2009 Share Posted March 25, 2009 When i try to use odbc_num_rows it always returns -1 as a result. Is there a work around to counting records in an as400 database system. Basically I just need to know if there is a record with certain values in the as400 database, if not, run an update script on the mysql database. However, odbc_num_rows does not work! It always returns -1. Its starting to drive me insane. Quote Link to comment Share on other sites More sharing options...
btherl Posted March 25, 2009 Share Posted March 25, 2009 An ugly workaround would be to do a count() query. Is it related to HAVE_SQL_EXTENDED_FETCH ? You can look in google to find references to that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.