Method SqlStatement:execute() Foundation
Executes the given SQL statement.
Syntax
METHOD :execute() -> nRows
Return
This method returns the number of rows affected by a INSERT, UPDATE or DELETE SQL command. For all other SQL commands 0 is returned.
Description
Executes the given SQL statement which may be an INSERT UPDATE or DELETE statement or an SQL statement that returns nothing such as an SQL DDL statement.
Use ";" to seperate multiple statements in your string.
Feedback
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.