Constant and Macro
Table 1 lists the constants and macros that can be used in GaussDB(DWS).
Parameter |
Description |
Examples |
||
---|---|---|---|---|
CURRENT_CATALOG |
Specifies the current database. |
|
||
CURRENT_ROLE |
Current role |
|
||
CURRENT_SCHEMA |
Current database model |
|
||
CURRENT_USER |
Current user |
|
||
LOCALTIMESTAMP |
Current session time (without time zone) |
|
||
NULL |
This parameter is left blank. |
- |
||
SESSION_USER |
Current system user |
|
||
SYSDATE |
Current system date |
|
||
USER |
Current user, also called CURRENT_USER |
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot