| --- |
| title: END |
| --- |
| |
| Commits the current transaction. |
| |
| ## Synopsis<a id="topic1__section2"></a> |
| |
| ``` pre |
| END [WORK | TRANSACTION] |
| ``` |
| |
| ## Description<a id="topic1__section3"></a> |
| |
| `END` commits the current transaction. All changes made by the transaction become visible to others and are guaranteed to be durable if a crash occurs. This command is a HAWQ extension that is equivalent to /3/4. |
| |
| ## Parameters<a id="topic1__section4"></a> |
| |
| WORK |
| TRANSACTION |
| Optional keywords. They have no effect. |
| |
| ## Examples<a id="topic1__section5"></a> |
| |
| Commit the current transaction: |
| |
| ``` pre |
| END; |
| ``` |
| |
| ## Compatibility<a id="topic1__section6"></a> |
| |
| `END` is a HAWQ extension that provides functionality equivalent to /3/4, which is specified in the SQL standard. |
| |
| ## See Also<a id="topic1__section7"></a> |
| |
| /3/4, /3/4, /3/4 |