11.24 USER

Available inDSQL, PSQL

TypeVARCHAR(63)

Syntax

USER

USER is a context variable containing the name of the currently connected user. It is fully equivalent to Section 11.7, CURRENT_USER.

Example

create trigger bi_customers for customers before insert as
begin
  New.added_by  = USER;
  New.purchases = 0;
end