Function Command.execPrepared

Execute a prepared command.

Use this method when you will use the same SQL 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 execPreparedResult() or execPreparedSequence() for such queries.

Prototype

deprecated bool execPrepared(
  out ulong ra
);

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