executeStatement method

Executes a statement that does not return a result set, such as a SQL INSERT, DELETE or UPDATE statement.

Syntax
Int32 executeStatement( )
Returns

The number of rows affected by the statement.

Remarks

If Connection.autoCommit is true, the statement commits only if one or more rows is affected by the statement.