Skip to content

Commit

Permalink
add MySQL compatibility in user-defined-variables.md (#6062) (#6137)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-srebot authored Apr 25, 2021
1 parent dc4945d commit a1b755c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions user-defined-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,8 @@ SELECT @col FROM t;
+------+
```

## MySQL 兼容性

`SELECT ... INTO <variable>` 外,MySQL 和 TiDB 支持的语法相同。

更多细节,请参考 [MySQL 文档](https://dev.mysql.com/doc/refman/5.7/en/user-variables.html)

0 comments on commit a1b755c

Please sign in to comment.