Special symbols (comma, period) appear in mysql table, how to query or operate

Special symbols (comma, period) appear in mysql table, how to query or operate

1. Background description

When a period (.), comma (,) or other special symbols appear in the mysql table name, and the table name cannot be queried directly and the operation cannot be performed, as shown below
Insert image description here

2. The table needs to be "quoted". The button above the tab key is not a quotation mark.

SELECT * FROM `JHDL_10_DBO.TBLPATIENT`

Insert image description here

Guess you like

Origin blog.csdn.net/slb190623/article/details/131378219