console icon indicating copy to clipboard operation
console copied to clipboard

SCHEMA

Open moeremanskarel opened this issue 1 year ago • 2 comments

Hey,

At this point Schema is not being logged. Depending on how the log happened it can be found in the column module or in session_user.

Can be useful if working with lots of schema's to have an extra column with this information.

Example: ALTER TABLE CONSOLE_LOGS ADD (used_schema VARCHAR2(50));

COMMENT ON COLUMN CONSOLE_LOGS.used_schema IS 'Schema';

:new.used_schema := sys_context('USERENV', 'CURRENT_SCHEMA');

Kind regards, Karel

moeremanskarel avatar Apr 03 '25 10:04 moeremanskarel