WORK is an optional SQL keyword that can follow the transactional commands COMMIT and ROLLBACK. It does not change the behavior of the statement; instead, it provides syntactic clarity that the command applies to the current unit of work (transaction). Many engines accept both COMMIT and COMMIT WORK (as well as ROLLBACK and ROLLBACK WORK) interchangeably. Because WORK is defined in the SQL-92 standard, it is widely portable, but some dialects treat it as purely optional. The keyword cannot appear on its own and has no effect outside the context of a COMMIT or ROLLBACK operation.
COMMIT, ROLLBACK, SAVEPOINT, BEGIN, TRANSACTION CONTROL LANGUAGE
SQL-92
No. WORK is purely syntactic. COMMIT WORK and COMMIT execute identically, as do ROLLBACK WORK and ROLLBACK.
Including WORK can make transaction boundaries clearer, satisfy corporate coding standards, or maintain compatibility with legacy scripts that already use the keyword.
No. WORK must directly follow COMMIT or ROLLBACK. A standalone WORK statement is invalid SQL.
None of the major commercial or open-source databases require WORK. It is always optional, though widely accepted.