Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: alias/synonym on user/schema
Björn Wächter wrote:
> Michel Cadot wrote:
>> "Björn Wächter" <bwc_at_p3-solutionsKILL_SPAM.de> a écrit dans le message de news: 4ushsvF19h3ehU1_at_mid.dfncis.de... >> | Hi all, >> | >> | is there a way to have an alias on an oracle user/schema. >> | I want to redirect a user that is logging into the DB with >> | the same user name password every time, into a different >> | schema. Any Ideas? >> | >> | Thanks Björn >> >> alter session set current_schema ... >> >> Regards >> Michel Cadot >> >>
CREATE OR REPLACE TRIGGER ON_LOGON
AFTER LOGON
ON DATABASE
DECLARE
BEGIN
EXECUTE IMMEDIATE 'ALTER SESSION SET CURRENT_SCHEMA = DEVELOP';
END;
/
Received on Wed Dec 20 2006 - 09:02:09 CST
![]() |
![]() |