This function returns the current scope user within a query, which is either identical to CURRENT_USER or the owner of the
view or the virtual table if the function refers to one.
CREATE VIEW scope_view AS SELECT SCOPE_USER;SELECT * FROM scope_view;
© 2021 Exasol
Try for Free