We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MySQL will convert NVARCHAR to VARCHAR, but TiDB will return error.
MySQL:
mysql> create table t1(a NVARCHAR(100)); Query OK, 0 rows affected (0.01 sec) mysql> desc t1; +-------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+--------------+------+-----+---------+-------+ | a | varchar(100) | YES | | NULL | | +-------+--------------+------+-----+---------+-------+ 1 row in set (0.00 sec)
mysql> drop table t1; Query OK, 0 rows affected (0.21 sec) mysql> create table t1(a NVARCHAR(100)); ERROR 1105 (HY000): line 0 column 26 near "(100))" (total length 32)
The text was updated successfully, but these errors were encountered:
winkyao
Successfully merging a pull request may close this issue.
MySQL will convert NVARCHAR to VARCHAR, but TiDB will return error.
MySQL:
The text was updated successfully, but these errors were encountered: