Announcement | We'll be doing maintenance between 2-3 hours, which may impact your experience. Thanks for your patience as we work on improving the community!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

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

JohnMaty
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 ANTWORTEN 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
Comet

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

 

 

Beschriftungen
Top-Lösungs-Autoren