| Dakular's profile打哭了的拨烙锅PhotosBlogLists | Help |
|
5/19/2006 一个空格引发的血案MySQL也不是省油的灯,气的我吐血。当建立一个和库名相同的表时,必须加个空格,如下:
Description:
See how-to-repeat. It's a bug as x(a INT) works fine in 4.0.16. How to repeat: mysql> create database x;
mysql> use x;
mysql> create table x(a int); 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 'x(a int)' at line 1 mysql> create table x (a int); Query OK, 0 rows affected (0.00 sec) TrackbacksThe trackback URL for this entry is: http://dakular.spaces.live.com/blog/cns!8668FFEC49BC51CE!368.trak Weblogs that reference this entry
|
|
|