DO
Syntax
DO
executes the expressions but does not return any results. In most respects, DO
is shorthand for SELECT
, but has the advantage that it is slightly faster when you do not care about the result.
expr
, ...
DO
is useful primarily with functions that have side effects, such as RELEASE_LOCK()
.