11.24 USER

Available inDSQL, PSQL

TypeVARCHAR(63)

Syntax

  1. 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

  1. create trigger bi_customers for customers before insert as
  2. begin
  3. New.added_by = USER;
  4. New.purchases = 0;
  5. end