create or replace TRIGGER &1.after_logon
   AFTER LOGON ON &1.SCHEMA 
DECLARE
   shema_l VARCHAR2 (30) := '&2';
BEGIN
   EXECUTE IMMEDIATE 'ALTER SESSION SET CURRENT_SCHEMA = ' || shema_l;
END;
/