Description
The sql_quote_show_create variable specifies whether to quote identifiers in SHOW CREATE TABLE and SHOW CREATE DATABASE statements.
Privilege requirements
Query variables
Global level
systenants and user tenants can execute theSHOW VARIABLESstatement or viewSYS.TENANT_VIRTUAL_GLOBAL_VARIABLE(in Oracle mode) andinformation_schema.GLOBAL_VARIABLES(in MySQL mode) to view the values of global system variables.Session level
systenants and user tenants can execute theSHOW VARIABLESstatement or viewSYS.TENANT_VIRTUAL_SESSION_VARIABLE(in Oracle mode) andinformation_schema.SESSION_VARIABLES(in MySQL mode) to view the values of session system variables.
Modify variables
Set the variable at the global level
systenants can directly modify the values of global system variables.MySQL user tenants must have the
SUPERorALTER SYSTEMprivilege to modify the values of global system variables.For V4.x, Oracle user tenants must have the
ALTER SYSTEMprivilege to modify the values of global system variables, starting from V4.2.0.
Set the variable at the session level
systenants and user tenants can directly modify the values of session system variables in their own tenants.
Attributes
| Attribute | Description |
|---|---|
| Type | bool |
| Default value | true |
| Value range | |
| Effect scope | |
| Modifiable | Yes. You can modify this variable by using the SET statement. |