After this PR #9272, the `docs/build_help_zip.sh` will run failed. This PR fix this issue. But the help module still has some parse problem, I will fix it in next PR. This CL mainly changes: 1. fix `docs/build_help_zip.sh` error 2. remove `sql-reference-v2` to `sql-reference` 3. modify build extension github action to run `docs/build_help_zip.sh`
1.8 KiB
1.8 KiB
title, language
| title | language |
|---|---|
| SHOW-VARIABLES | en |
SHOW-VARIABLES
Name
SHOW VARIABLES
Description
The modified statement is used to display Doris system variables, which can be queried by conditions
grammar:
SHOW [GLOBAL | SESSION] VARIABLES
[LIKE 'pattern' | WHERE expr]
illustrate:
- show variables is mainly used to view the values of system variables.
- Executing the SHOW VARIABLES command does not require any privileges, it only requires being able to connect to the server.
- Use the like statement to match with variable_name.
- The % percent wildcard can be used anywhere in the matching pattern
Example
-
The default here is to match the Variable_name, here is the exact match
show variables like 'max_connections'; -
Matching through the percent sign (%) wildcard can match multiple items
show variables like '%connec%'; -
Use the Where clause for matching queries
show variables where variable_name = 'version';
Keywords
SHOW, VARIABLES