I have two databases (A and B). Database A, I control and from which I get a datetime called "heartbeat". Database B is owned by someone else and I can only read it. As a result, I need to scan a table from Database B and see if the Create Date or LastUpdate Date for each row is greater than or equal to the datetime ("heartbeat") stored in Database A. I need to create and/or update a table in Databse A that is identical to the table from Database B. I need to reset the heartbeat in Database A to the same time the table scan started so it is available for the next run.
In other words I need to replicate Database B into Database A.
I can't figure out how to get the "heartbeat" to compare to Database B's create or lastupdate date. I tried using JOIN but that seems to require the fields to match exactly. Any help would be greatly appreciated.
Solved! Go to Solution.
Agree with @JohnJPS, think DynamicInput the way to go.
Take a look at https://www.concentra.co.uk/blog/alteryx-perform-dynamic-incremental-data-extracts
Thank you . THis solution worked perfectly and simply. A great combination!