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 user |
| ||
| 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 |
|
Last Article: Data Types Supported by Column-Store Tables
Next Article: Functions and Operators
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.