In MySQL there’s a system variable called sql_quote_show_create
which is used to determine whether or not to use quoted identifiers when using the SHOW CREATE TABLE
and SHOW CREATE DATABASE
statements.
By default sql_quote_show_create
is set to 1
, which means that quotes/backticks will be generated whenever these statements are run, but we can also change this value to 0
in order to disable quotes.
Below are examples of checking this variable and setting it.
Continue reading