In PHP, is there equivalent functionality to sqlsrv_has_rows?
I don't want to know how many rows, just has it got any at all.
I don't really want to fetch a row, as that puts the row pointer out.
It seems there is no equivalent. You have to fetch the first row. If you want to then start at the first row again, you would have to use oci_execute again. Not a great idea if the query takes a long time to run.
So some logic to store the first row would be a likely route to go down.