NewFourWalls
asked on
Compare & Update Dates In Two Tables
Hello Experts,
I have two tables, Jobs & GoodsReceipts. In Jobs there is an ActionDate (datetime) column which I need to compare with GoodsReceipts column Date (datetime) and if they differ, update GoodsReceipts with the new date.
I am sure the answer is very simple but I am having one of them days :(
I'm using MS SQL SERVER 2008.
Thanks,
David
I have two tables, Jobs & GoodsReceipts. In Jobs there is an ActionDate (datetime) column which I need to compare with GoodsReceipts column Date (datetime) and if they differ, update GoodsReceipts with the new date.
I am sure the answer is very simple but I am having one of them days :(
I'm using MS SQL SERVER 2008.
Thanks,
David
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I used a different example from the page you sent and it works great.