Skip to content

Commit

Permalink
user-defined-variables: Add note about SELECT...INTO <var> (#5268)
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden authored Apr 19, 2021
1 parent 90469ea commit 3e1ac17
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 @@ -179,4 +179,8 @@ SELECT @col FROM t;
+------+
```

## MySQL compatibility

Except for `SELECT ... INTO <variable>`, the syntax supported in MySQL and TiDB is identical.

For more information, see [User-Defined Variables in MySQL](https://dev.mysql.com/doc/refman/5.7/en/user-variables.html).

0 comments on commit 3e1ac17

Please sign in to comment.