0
我试图使用phpMyAdmin将某些记录备份到同一个数据库中的单独表。这里是查询和它抛出的错误。两张表都存在并拼写正确;我直接从他们的结构页面复制并粘贴表名。任何想法,为什么我得到这个错误?mysql错误 - 表名引发未声明的变量
SELECT *
INTO `arrc_VoucherBAK`
FROM `arrc_Voucher`
WHERE ActivatedDT LIKE "2010-11-10%"
AND BalanceInit IS NOT NULL
MySQL said: Documentation
#1327 - Undeclared variable: arrc_VoucherBAK
不,无论哪种方式 - 引号或不 - 我得到了同样的错误。 – EmmyS 2010-11-23 18:36:19
可能的重复 - http://stackoverflow.com/questions/2949653/select-into-and-undeclared-variable-error – Vishal 2010-11-23 18:38:21