Help Center/
GaussDB(DWS)/
Standard Data Warehouse (8.1.3.x)/
Stored Procedures/
Basic Statements/
Assignment Statement
Updated on 2023-10-31 GMT+08:00
Assignment Statement
Syntax
Figure 1 shows the syntax diagram for assigning a value to a variable.
The above syntax diagram is explained as follows:
- variable_name indicates the name of a variable.
- value can be a value or an expression. The type of value must be compatible with the type of variable_name.
Examples
Parent topic: Basic Statements
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.