12.7CURRENT_USER

Name of the user of the current connection

TypeVARCHAR(63)

Syntax

  |CURRENT_USER

CURRENT_USER is equivalent to Section 12.24, “USER.

Example

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