Please please please don't poll sysprocesses. You kill yourself with PSS spinlock contention. Use the ACF functions and SYS_SESSION:
grant select on builtin get_appcontext to public
select get_appcontext('SYS_SESSION','applname')
Please please please don't poll sysprocesses. You kill yourself with PSS spinlock contention. Use the ACF functions and SYS_SESSION:
grant select on builtin get_appcontext to public
select get_appcontext('SYS_SESSION','applname')