版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/jsut_rick/article/details/82865198
创建表时报错1064,报错内容为:
ERROR 1064 (42000):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 'DECLARE i INT DEFAULT 0' at line 1
问题原因:语法错误
解决方法:
检查语句,一般错误地方为:
1、单词拼写错误;
2、中英文符号错误。