create trigger user_login
after logon on database
begin
insert into log_table(loguser,databasename,eventname,logtime)
values(sys.loginuser,sys.databasename,sys.sysvent.SYSDAYE);
end;
create trigger user_login
after logon on database
begin
insert into log_table(loguser,databasename,eventname,logtime)
values(sys.loginuser,sys.databasename,sys.sysvent.SYSDAYE);
end;