Home  >  Article  >  Database  >  Mysql series (9) single quotes and back quotes

Mysql series (9) single quotes and back quotes

黄舟
黄舟Original
2017-01-22 16:53:581360browse

The simplest way to avoid errors is to use backticks for reserved words such as table names, and double quotes for other SQL statements. I usually try not to use single quotes. ,

Simply put, use single quotes for strings, and use backticks for table names, field names, etc.

The above is the content of single quotes and backticks in Mysql series (9). For more related content, please pay attention to the PHP Chinese website (www.php.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