[TD-2639] <docs>: fix example about transaction in SQL execution.

This commit is contained in:
Elias Soong 2021-05-31 17:49:11 +08:00
parent 0470c13497
commit fd06a567ed
1 changed files with 2 additions and 2 deletions

View File

@ -424,9 +424,9 @@ Query OK, 1 row(s) in set (0.001029s)
taos> SHOW TABLES;
Query OK, 0 row(s) in set (0.000946s)
taos> INSERT INTO d1001 USING meters TAGS('Beijing.Chaoyang', 2);
taos> INSERT INTO d1001 USING meters TAGS('Beijing.Chaoyang', 2) VALUES('a');
DB error: invalid SQL: keyword VALUES or FILE required
DB error: invalid SQL: 'a' (invalid timestamp) (0.039494s)
taos> SHOW TABLES;
table_name | created_time | columns | stable_name |