首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >在mysql表名中使用(-)破折号

在mysql表名中使用(-)破折号
EN

Stack Overflow用户
提问于 2013-09-07 14:15:04
回答 2查看 44.2K关注 0票数 29

我想备份我的数据库时出现错误

代码语言:javascript
复制
A Database Error Occurred

Error Number: 1064

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 '-01-000001' at line 1

SELECT * FROM temp_01-01-000001

Filename: F:\xampp\htdocs\erp_zaara\system\database\DB_driver.php

Line Number: 330

有没有办法用表名(temp_01-01-000001)解决这个问题。

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18670394

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档