Connection.executeNonSelectCommand

This is a convenience function to execute a SQL command over the opened connection. For the returned value, see gda.connection.Connection.statementExecuteNonSelect's documentation.

class Connection
int
executeNonSelectCommand
(
string sql
)

Parameters

sql string

a query statement that must not begin with "SELECT"

Return Value

Type: int

the number of rows affected or -1, or -2

Throws