CURRENT USER special value

Function

A string containing the user ID of the current connection.

Data type

String.

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

Description

On UPDATE, columns with a default of CURRENT USER automatically update to reflect the current connection.

See also

“Expressions”