CURRENT USER special value

Function

CURRENT USER returns a string that contains the user ID of the current connection.

Data type

STRING

CURRENT USER can be used as a default value in columns with character data types.

Description

On UPDATE, columns with a default value of CURRENT USER are not changed.

See also

“Expressions”