简体   繁体   中英

What is Oracle equivalent of mysql_affected_rows?

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 ?

As google told me :

http://php.net/manual/en/function.oci-num-rows.php

oci_num_rows() should do the trick.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM