Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Question from a beginner - Compare one to all across a database

JohnMaty
9 - Comet

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.

 

11 REPLIES 11
jdunkerley79
ACE Emeritus
ACE Emeritus

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

 

JohnMaty
9 - Comet

Thank you .  THis solution worked perfectly and simply.  A great combination!

 

 

Labels