the field timestamp is no datetime field. it’s a hex value field used for versioning the record. but it’s always changed, when the record is modfied. so you can use it for triggering.
add a new field LastModified (type DateTime).
add following sql trigger to your table with sql mgmt tool. with that trigger the new field LastModified is updated with the current datetime, always when the record is modified. so you get the needed field for filtering.
USE []
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TRIGGER [dbo].[Update_LastModified]
ON [dbo].[$]
AFTER INSERT,UPDATE
AS
IF (UPDATE(timestamp))
BEGIN
– SET NOCOUNT ON added to prevent extra result sets from