views:

47

answers:

1

I have two firebird databases running on the same server and I want to write to a table on one of the databases from a trigger on the other database when certain actions occur. I have had a search and cannot find out if this is possible.

Can it be done either natively in firebird or via a UDF?

Thanks

Neil

+2  A: 

It will be possible in Firebird 2.5 using the "on external" syntax. Example:

EXECUTE STATEMENT('insert into table(field) values(?)')(:Param)
ON EXTERNAL 'another_server:C:\DB\DB.FDB'
AS USER 'SYSDBA' PASSWORD 'masterkey';
Douglas Tosi
Hi DouglasThanks for the details. Am I right that 2.5 has not officially been released yet and is still a RC? ThanksNeil
williamsdb
You're correct.
Douglas Tosi