Search notes:

Oracle: DBMS_SQL.FETCH_ROWS

dbms_sql.fetch_rows must be called repeatedly to fetch all rows from a select statement.
The function returns the actual number of rows that were fetched.
…
  while dbms_sql.fetch_rows(cur) > 0 loop
        …
  end loop;
…

Return value

The returned value corresponds to the number of records fetched.
When using define_array, a call to fetch_rows returns multiple rows .
When no more rows can be fetched, the function returns 0.

See also

dbms_sql

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758200704, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/packages/dbms/sql/api/fetch_rows/index(57): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78