Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Altering the osuser in v$session
bove027 wrote:
> Hi,
>
> is it possible to change the osuser of the session?
If it is it will require C and likely a violation of your Oracle license.
gv$ and v$ session are base on X$ objects which are arrays in memory ... not physical tables.
If you really must do this, and your rationale looks more like a bad attempt at hacking than anything legitimate then I would suggest the following:
CREATE VIEW myv$session AS
SELECT DECODE(osuser, 'WHAT I WANT TO HIDE', 'MY', osuser)
FROM v$session;
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Wed Mar 07 2007 - 21:26:25 CST
![]() |
![]() |