13.25. USER

Name of the user of the current connection

TypeVARCHAR(63)

Syntax

USER

USER is equivalent to (or, alias of) Section 13.8, “CURRENT_USER”.

Example

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