num_rows() not working with sqlsrv driver and MSSQL |
I'm getting the following error on a simple query that's supposed to return a number of rows:
Quote:Type: Error I'm using Codeigniter 3.1.9. I recently started using PHP7.2 and also sqlsrv driver to connect to a MSSQL database. In some other post, someone mentioned that scrollable should be set to an option different than SQLSRV_CURSOR_FORWARD so I dump the value of $this->scrollable in sqlsrv_driver.php and found out that its value is buffered Code: /** Not quite sure why it's failing. Any other queries that don't include num_rows() are fine so far. Thanks. |
Messages In This Thread |
num_rows() not working with sqlsrv driver and MSSQL - by sebastianbo - 07-30-2018, 09:51 AM
RE: num_rows() not working with sqlsrv driver and MSSQL - by InsiteFX - 07-31-2018, 06:52 AM
RE: num_rows() not working with sqlsrv driver and MSSQL - by sneakyimp - 09-12-2018, 10:44 AM
|