Overview
sql_quote_show_create specifies whether to enable quote identifiers for the SHOW CREATE TABLE and SHOW CREATE DATABASE statements.
Privilege requirements
Query variables
Global level
Both the
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.GLOBAL_VARIABLESview to view the values of global system variables.Session level
Both the
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.SESSION_VARIABLESview to view the values of session system variables.
Modify variables
Global effective
The
systenant can directly modify the values of global system variables.The user tenant must have the
SUPERorALTER SYSTEMprivilege to modify the value of a global system variable.
Session expiration
The
systenant and all user tenants can directly modify the values of session system variables for their own tenants.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | true |
| Value range |
|
| Effective Scope |
|
| Modifiable | Yes, you can use theSETStatement modification. |
Configuration example
Set this parameter to enable the use of backticks in identifiers for the SHOW CREATE TABLE and SHOW CREATE DATABASE statements. When enabled, identifiers such as table names, database names, and field names in the output statements generated by these queries will be enclosed in backticks (`).
Session Validity Period
obclient> SET sql_quote_show_create = ON;Effective globally
obclient> SET GLOBAL sql_quote_show_create = ON;