Special Characters in MySQL Table Name

后端 未结 7 1791
一向
一向 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:55

    If you have whatever special requirements for the table identifiers, that means there is something wrong with your database architecture and/or with understanding database architecture.

    You'd better correct these architectural mistakes instead of enforcing silly identifiers

提交回复
热议问题