Home >Database >Mysql Tutorial >mysql表名有非常规字符

mysql表名有非常规字符

WBOY
WBOYOriginal
2016-06-06 09:38:011487browse

mysql

通过jdbc调用其他系统的表,表名为:h-b-gov.cn

select * from h-b-gov.cn 语句报错。

请问有什么方法能调用吗?怎么转义才是正确的?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn