Overview
TIMESTAMP is a timestamp in seconds. This variable affects the result of select now(6).
Privilege requirements
Query variables
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
The
systenant and all user tenants can directly modify the values of session system variables for their own tenants.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Numeric |
| Default Value | 0 |
| Value range | [0, 253402272000) |
| Effective Scope | Session |
| Modifiable? | Yes. You can modify it using the SET statement. |