MySQL provides the sql_quote_show_create
system variable, which allows us to specify whether or not to include quotes around identifiers when using the SHOW CREATE TABLE
and SHOW CREATE DATABASE
statements.
By default, this variable is set to 1
, which means that quotes/backticks will be generated whenever these statements are run.
However, we might not always want quotes or backticks around the object names, and so we can change the value of this variable to disable quoted identifiers.
Continue reading