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

mysql表名有非常规字符

WBOY
Release: 2016-06-06 09:38:01
Original
1487 people have browsed it

mysql

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template