Function PreparedImpl.exec

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

ulong exec();

Returns

The number of rows affected.

Authors

Copyright

License