Skip to content

Commit

Permalink
truncate statement ebnf (#16050)
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden authored Jan 21, 2024
1 parent a4fafda commit bf18748
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions sql-statements/sql-statement-truncate.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bf18748

Please sign in to comment.