Special Characters in MySQL Table Name

后端 未结 7 1769
一向
一向 2020-11-29 11:05

I created a table as follows:

CREATE TABLE IF NOT EXISTS \'e!\' (
`aa` int(11) unsigned NOT NULL auto_increment,
`showName` TEXT NOT NULL default \'\',
`star         


        
7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 11:53

    This is Object Names standards for MySQL. According it you can't use "!" symbol as part of table name.

提交回复
热议问题