lsy3993 commented on code in PR #1908:
URL: https://github.com/apache/doris-website/pull/1908#discussion_r1928366125


##########
docs/sql-manual/sql-statements/session/variable/SET-VARIABLE.md:
##########
@@ -29,38 +29,56 @@ under the License.
 
 This statement is mainly used to modify Doris system variables. These system 
variables can be modified at the global and session level, and some can also be 
modified dynamically. You can also view these system variables with `SHOW 
VARIABLE`.
 
-grammar:
+## Syntax
 
 ```sql
-SET variable_assignment [, variable_assignment] ...
+SET variable_assignment [, variable_assignment] [ ... ]
 ```
 
-illustrate:
+Where:
+```sql
+variable_assignment
+  : [(<user_var_name> = expr) | ([<effective_scope>] <system_var_name> = expr)]

Review Comment:
   done



##########
docs/sql-manual/sql-statements/session/variable/SET-VARIABLE.md:
##########
@@ -29,38 +29,56 @@ under the License.
 
 This statement is mainly used to modify Doris system variables. These system 
variables can be modified at the global and session level, and some can also be 
modified dynamically. You can also view these system variables with `SHOW 
VARIABLE`.
 
-grammar:
+## Syntax
 
 ```sql
-SET variable_assignment [, variable_assignment] ...
+SET variable_assignment [, variable_assignment] [ ... ]
 ```
 
-illustrate:
+Where:
+```sql
+variable_assignment
+  : [(<user_var_name> = expr) | ([<effective_scope>] <system_var_name> = expr)]
+```
+
+## Required Parameters
+**<user_var_name>**
+> Specifies the variable of user level, for example : time_zone and so on
+
+**<system_var_name>**
+> Specifies the variable of system level, for example : exec_mem_limit and so 
on
+
+## Optional Parameters
+**<effective_scope>**
+
+> Effective scope is one of `GLOBAL` or `SESSION`. If there is no effective 
scope, default value is `SESSION`.

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to