Search notes:

ADODB.Connection: Execute

The execute() method of ADODB.connection executes an SQL statement.
This method returns a RecordSet object.
set rs = conn.execute(sqlStmt)
set rs = conn.execute(sqlStmt, nofRecords)
set rs = conn.execute(sqlStmt, nofRecords, options)
The second parameter (nofRecords) is assigned the number of records that was affected by the SQL statement.
options is a bitmask where flags of commandTypeEnum and executeOptionEnum can be combined.

See also

The command object allows to create a parametrized SQL statement that can be used multiple times, each time using a different set of values for the parameters.
ADO

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...', 1758204210, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/ADO/objects/connection/execute/index(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78