May 29, 2012 at 7:12 am
Hi,
I have two tables A and B which are joined by the EmployeeBadgeID. I have to capture all the records that have changed in both the tables for a specifed from and to date. If the EndDate is not null in both the tables indicate that a record changed. How do I select only the records which have changed in both the tables for the specified from and to dates from the full outer joined table?
May 29, 2012 at 7:18 am
KS-321165 (5/29/2012)
Hi,I have two tables A and B which are joined by the EmployeeBadgeID. I have to capture all the records that have changed in both the tables for a specifed from and to date. If the EndDate is not null in both the tables indicate that a record changed. How do I select only the records which have changed in both the tables for the specified from and to dates from the full outer joined table?
In short: http://www.sqlservercentral.com/articles/Best+Practices/61537/
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply