[請益] Mysql的語法,table name 有"@"
我用php + mysql
mysql 命令提示列中,
create database "tablename";
其中tablename只要含有@的話.
例如:create database Cafe@hotmail;
它就出現這樣的error:
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 '@' at
line 1
到底是什麼原因?mysql的變數不能含有"@"嗎.
我暈('@~@')
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.136.17.109
推
02/25 19:07, , 1F
02/25 19:07, 1F
推
02/25 21:49, , 2F
02/25 21:49, 2F
→
02/26 01:13, , 3F
02/26 01:13, 3F