CURRENT USER special value

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

Data type

STRING

Remarks

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

On UPDATE, columns with a default value of CURRENT USER are not changed. CURRENT_USER is equivalent to CURRENT USER.

See also