diff --git a/sql-statements/sql-statement-truncate.md b/sql-statements/sql-statement-truncate.md index 0fa9b6490c7dd..6f5def7e46840 100644 --- a/sql-statements/sql-statement-truncate.md +++ b/sql-statements/sql-statement-truncate.md @@ -12,17 +12,13 @@ Both `TRUNCATE TABLE tableName` and `TRUNCATE tableName` are valid syntax. ## Synopsis -**TruncateTableStmt:** +```ebnf+diagram +TruncateTableStmt ::= + "TRUNCATE" ( "TABLE" )? TableName -![TruncateTableStmt](/media/sqlgram/TruncateTableStmt.png) - -**OptTable:** - -![OptTable](/media/sqlgram/OptTable.png) - -**TableName:** - -![TableName](/media/sqlgram/TableName.png) +TableName ::= + (Identifier ".")? Identifier +``` ## Examples