Function Command.execSQL

Execute a one-off SQL command.

Use this method when you are not going to be using the same command repeatedly. It can be used with commands that don't produce a result set, or those that do. If there is a result set its existence will be indicated by the return value.

Any result set can be accessed vis Connection.getNextRow(), but you should really be using execSQLResult() or execSQLSequence() for such queries.

Prototypes

deprecated bool execSQL(
  out ulong ra
);

deprecated bool execSQL();

Parameters

NameDescription
ra An out parameter to receive the number of rows affected.

Returns

true if there was a (possibly empty) result set.

Authors

Copyright

License