I'm working on the integration of two databases.
It is a system that needs the status of employees in HR.
For performance issues, I can not point all the employee-dependent queries to the HR base, what I did was create a functionality to import that data into my database.
I have now created a feature on my system that at certain time intervals fetches the data from the RH database.
But I'd like to change the implementation to something like that, when the data in the base changes, invoke a webService on my system that will import the data from RH, and update my database.
As we can only work on the database, not on the RH system, I thought it would be possible to create a trigger in the RH database that triggers my process on the other system.
Is it possible to create a trigger in SQL Server that invokes a webService?