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

2019-03-14 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 

mon$attachments a 

where a.mon$attachment_id=CURRENT_CONNECTION

 

 

Regards,

Karol Bieniaszewski