What is Oracle equivalent of mysql_affected_rows?
-
04-06-2021 - |
Question
In Mysql, If we insert,delete or update data then by using mysql_affected_rows(),
we will get No. of rows affected & same we can use in PHP
to store it in a variable
.
So What is Oracle equivalent of mysql_affected_rows?
How can we get No. of rows affected in Oracle?
What's the function name
for the oracle db for the same, so that we can use the same in PHP
or we can store that value in PHP variable
?
Solution
As google told me :
http://php.net/manual/en/function.oci-num-rows.php
oci_num_rows()
should do the trick.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow