How to get current user in hsqldb, like we use sys_context in oracle

158 Views Asked by At

How to get current user in hsqldb, like we use sys_context in oracle.

What's the syntax to get current logged-in user in hsqldb?

1

There are 1 best solutions below

0
fredt On

The function is CURRENT_USER and is listed among the "System Functions" http://hsqldb.org/doc/guide/builtinfunctions-chapt.html#bfc_system_functions.