Expressions.expr-primary-constant

A constant keyword.

Format

SQL Format:

{ CURRENT_DATE | TRUE | FALSE | NULL } |

{ CURRENT_TIME | CURRENT_TIMESTAMP }

ODBC Format:

{{ FN { CURRENT_DATE | CURDATE | CURTIME | NOW } [ ( ) ] }} |

{{ FN { CURRENT_TIME | CURRENT_TIMESTAMP } }}

Remarks

Keywords that specify a constant value.

Keyword Description
CURRENT_DATE Returns the current date
CURRENT_TIME Returns the current time
CURRENT_TIMESTAMP Returns the current date and time
CURDATE Returns the current date
CURTIME Returns the current time
NOW Returns the current date and time

Disclaimer

Geo SCADA Expert 2022