Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Date Comparison on join

$
0
0

Hi,

 

I have one scenario to solve:

 

We have two source table:

 

Source A
120.01.2013A
123.01.2013B
105.02.2014C
220.01.2013D
223.01.2013E
325.02.2015F
405.03.2014G

 

 

 

Source  B
101.01.2013
122.01.2013
201.01.2013
221.01.2013
301.02.2015
401.03.2014

 

 

 

We need to join this two table and get the target table :

 

Target
101.01.2013A
122.01.2013B
122.01.2013C
201.01.2013D
221.01.2013E
301.02.2015F
401.03.2014G

 

 

 

 

Scenario: Source A date need to replace with Source B date if  Source A date is fall under the limit of Source B date.

 

 

 

Thanks in advance.

 

 

-Amit


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>