gpt4 book ai didi

MySQL语法错误-表名

转载 作者:行者123 更新时间:2023-12-01 00:09:50 26 4
gpt4 key购买 nike

我遇到了一个奇怪的问题,mysql 不喜欢我的表名。

mysql> DROP TABLE IF EXISTS 6e0OU1QgkU7Pj6ycQF0U_results;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '6e0OU1QgkU7Pj6ycQF0U_results' at line 1

mysql> DROP TABLE IF EXISTS 6epGz4xKzfKd6A9e1ASP_results;
Query OK, 0 rows affected (0.00 sec)

mysql>

知道为什么第一个查询有语法错误而第二个查询是允许的吗?

最佳答案

可能是 6e0,SQL 解析器认为它是科学计数法中的数字:6 * 100

关于MySQL语法错误-表名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29494212/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com