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

Mysql series (9) single quotes and back quotes

黄舟
Release: 2017-01-22 16:53:58
Original
1440 people have browsed it

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 (m.sbmmt.com)!

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