From 8857acdaacca289939e705e5b510f9b4e4a97979 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Mon, 5 Feb 2024 12:05:09 +0800 Subject: [PATCH 1/3] Add temp.md --- temp.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 temp.md diff --git a/temp.md b/temp.md new file mode 100644 index 000000000000..af27ff4986a7 --- /dev/null +++ b/temp.md @@ -0,0 +1 @@ +This is a test file. \ No newline at end of file From 781d44c9ad39629d9e603ac326c2d4bd89a5421b Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Mon, 5 Feb 2024 12:05:13 +0800 Subject: [PATCH 2/3] Delete temp.md --- temp.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 temp.md diff --git a/temp.md b/temp.md deleted file mode 100644 index af27ff4986a7..000000000000 --- a/temp.md +++ /dev/null @@ -1 +0,0 @@ -This is a test file. \ No newline at end of file From a4e7ed2dec580bec72b04202741d486c4d1a1268 Mon Sep 17 00:00:00 2001 From: qiancai Date: Mon, 5 Feb 2024 12:07:53 +0800 Subject: [PATCH 3/3] Update sql-statement-truncate.md --- sql-statements/sql-statement-truncate.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/sql-statements/sql-statement-truncate.md b/sql-statements/sql-statement-truncate.md index 6f5a19063473..44dc9eee6703 100644 --- a/sql-statements/sql-statement-truncate.md +++ b/sql-statements/sql-statement-truncate.md @@ -12,17 +12,13 @@ aliases: ['/docs-cn/dev/sql-statements/sql-statement-truncate/','/docs-cn/dev/re ## 语法图 -**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 +``` ## 示例