diff --git a/sql-statements/sql-statement-savepoint.md b/sql-statements/sql-statement-savepoint.md index 055eb6661499e..ff7e2f3c14608 100644 --- a/sql-statements/sql-statement-savepoint.md +++ b/sql-statements/sql-statement-savepoint.md @@ -36,6 +36,19 @@ RELEASE SAVEPOINT identifier After the transaction is committed or rolled back, all savepoints in the transaction will be deleted. +## Synopsis + +```ebnf+diagram +SavepointStmt ::= + "SAVEPOINT" Identifier + +RollbackToStmt ::= + "ROLLBACK" "TO" "SAVEPOINT"? Identifier + +ReleaseSavepointStmt ::= + "RELEASE" "SAVEPOINT" Identifier +``` + ## Examples Create a table `t1`: