Skip to Main Content
The world's most popular open source database
Contact MySQL  | 
Login  |  Register
  • MySQL.com
  • Downloads
  • Documentation
  • Developer Zone
Developer Zone Downloads MySQL.com
Documentation
  • MySQL Server
  • MySQL Enterprise
  • Workbench
  • InnoDB Cluster
  • MySQL NDB Cluster
  • Connectors
  • More
  • MySQL.com
  • Downloads
  • Developer Zone
Section Menu:  
Documentation Home
MySQL 9.2 Reference Manual
  • Preface and Legal Notices
  • General Information
  • Installing MySQL
  • Upgrading MySQL
  • Downgrading MySQL
  • Tutorial
  • MySQL Programs
  • MySQL Server Administration
  • Security
  • Backup and Recovery
  • Optimization
  • Language Structure
    • Literal Values
      • String Literals
      • Numeric Literals
      • Date and Time Literals
      • Hexadecimal Literals
      • Bit-Value Literals
      • Boolean Literals
      • NULL Values
    • Schema Object Names
      • Identifier Length Limits
      • Identifier Qualifiers
      • Identifier Case Sensitivity
      • Mapping of Identifiers to File Names
      • Function Name Parsing and Resolution
    • Keywords and Reserved Words
    • User-Defined Variables
    • Expressions
    • Query Attributes
    • Comments
  • Character Sets, Collations, Unicode
  • Data Types
  • Functions and Operators
  • SQL Statements
  • MySQL Data Dictionary
  • The InnoDB Storage Engine
  • Alternative Storage Engines
  • Replication
  • Group Replication
  • MySQL Shell
  • Using MySQL as a Document Store
  • InnoDB Cluster
  • InnoDB ReplicaSet
  • MySQL NDB Cluster 9.2
  • Partitioning
  • Stored Objects
  • INFORMATION_SCHEMA Tables
  • MySQL Performance Schema
  • MySQL sys Schema
  • Connectors and APIs
  • MySQL Enterprise Edition
  • MySQL Workbench
  • MySQL on OCI Marketplace
  • Telemetry
  • MySQL 9.2 Frequently Asked Questions
  • Error Messages and Common Problems
  • Indexes
  • MySQL Glossary
Related Documentation
MySQL 9.2 Release Notes
Download this Manual
PDF (US Ltr) - 40.7Mb
PDF (A4) - 40.8Mb
Man Pages (TGZ) - 259.6Kb
Man Pages (Zip) - 366.9Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


version 9.2
9.3
9.1
9.0
8.4  current
8.0
5.7
8.0  Japanese
MySQL 9.2 Reference Manual  /  Language Structure

Chapter 11 Language Structure

Table of Contents

11.1 Literal Values
11.1.1 String Literals
11.1.2 Numeric Literals
11.1.3 Date and Time Literals
11.1.4 Hexadecimal Literals
11.1.5 Bit-Value Literals
11.1.6 Boolean Literals
11.1.7 NULL Values
11.2 Schema Object Names
11.2.1 Identifier Length Limits
11.2.2 Identifier Qualifiers
11.2.3 Identifier Case Sensitivity
11.2.4 Mapping of Identifiers to File Names
11.2.5 Function Name Parsing and Resolution
11.3 Keywords and Reserved Words
11.4 User-Defined Variables
11.5 Expressions
11.6 Query Attributes
11.7 Comments

This chapter discusses the rules for writing the following elements of SQL statements when using MySQL:

  • Literal values such as strings and numbers

  • Identifiers such as database, table, and column names

  • Keywords and reserved words

  • User-defined and system variables

  • Expressions

  • Query attributes

  • Comments


PREV   HOME   UP   NEXT
Related Documentation
MySQL 9.2 Release Notes
Download this Manual
PDF (US Ltr) - 40.7Mb
PDF (A4) - 40.8Mb
Man Pages (TGZ) - 259.6Kb
Man Pages (Zip) - 366.9Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
Contact MySQL Sales
USA/Canada: +1-866-221-0634   (More Countries »)
  © 2025 Oracle

  • Products
  • HeatWave
  • MySQL Enterprise Edition
  • MySQL Standard Edition
  • MySQL Classic Edition
  • MySQL Cluster CGE
  • MySQL Embedded (OEM/ISV)
  • Services
  • Training
  • Certification
  • Support
  • Downloads
  • MySQL Community Server
  • MySQL NDB Cluster
  • MySQL Shell
  • MySQL Router
  • MySQL Workbench
  • Documentation
  • MySQL Reference Manual
  • MySQL Workbench
  • MySQL NDB Cluster
  • MySQL Connectors
  • Topic Guides
  • About MySQL
  • Contact Us
  • Blogs
  • How to Buy
  • Partners
  • Job Opportunities
  • Site Map
  © 2025 Oracle
Privacy / Do Not Sell My Info | Terms of Use | Trademark Policy |
Cookie Preferences