| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Changing the default schema for a user
thomaszic_at_hotmail.com (Thomas Lam) wrote in message > 
> Therefore, I grant SELECT, INSERT, UPDATE and DELETE of all objects
> under "admin" to "operator" and using the following command when
> "operator" login:
> 
> ALTER SESSION SET CURRENT_SCHEMA= admin;
> 
create or replace trigger after_logon_operator
after logon on operator.schema
begin
   execute immediate 'alter session set current_schema = admin';
end;
/
No need for synonyms in this case!
jan Received on Wed Nov 19 2003 - 11:00:48 CST
![]()  | 
![]()  |