I cant register a query to satisfy my conditions. I have 2 applications running from 2 computers. Following query is registered by each application:
SELECT MAX(ID) FROM MY_TABLE WHERE cast(SOME_COLUMN/1000 as int)=@APP_NUMBER
Each application set own @APP_NUMBER in registered query. The problem is when I add new row with SOME_COLUMN/1000 set to 1 only first application should be notify. But both are. Thx for any help