Re: AW: AW: Re[2]: [firebird-support] Link system tables to trigger

2019-03-15 Thread liviuslivius liviusliv...@poczta.onet.pl [firebird-support]
I forgot to say that from performance POV you should do this only once in eg connection trigger and set context vars.Use then this vars in triggersRegards,Karol Bieniaszewski null

AW: AW: Re[2]: [firebird-support] Link system tables to trigger

2019-03-13 Thread 'Check_Mail' check_m...@satron.de [firebird-support]
Hello Karol, perfekt, thank you!  Von: firebird-support@yahoogroups.com Gesendet: Dienstag, 12. März 2019 14:43 An: firebird-support@yahoogroups.com Betreff: Re: AW: Re[2]: [firebird-support] Link system tables to trigger Hi, you can do this by: Select * from

Re: AW: Re[2]: [firebird-support] Link system tables to trigger

2019-03-12 Thread liviuslivius liviusliv...@poczta.onet.pl [firebird-support]
Hi,you can do this by:Select * from mon$attachments a where a.mon$attachment_id=CURRENT_CONNECTIONRegards,Karol Bieniaszewski null

AW: Re[2]: [firebird-support] Link system tables to trigger

2019-03-12 Thread 'Check_Mail' check_m...@satron.de [firebird-support]
or transactions.. Von: firebird-support@yahoogroups.com Gesendet: Dienstag, 12. März 2019 11:26 An: firebird-support@yahoogroups.com Betreff: Re[2]: [firebird-support] Link system tables to trigger Olaf If you use same firebird user for all application users, I assume that you have some

Re[2]: [firebird-support] Link system tables to trigger

2019-03-12 Thread 'Marcin Bury' marcin.b...@studio-delfi.pl [firebird-support]
Olaf If you use same firebird user for all application users, I assume that you have some list of users within your database. Then you can set a variable for connection named i.e. my_current_user, fill it from the application and then use it in i.e triggers in the same manner that you would