Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have two tables in two databases:
T1:
date1
data1
T2
date2
data2
Now I want to compare the two dates ( TalendDate.compareDate(row1.date_maj, row2.DATE, "dd-MM-yyyy HH:mm:ss") )
If the resultat is -1 I get data1 and if the result 1 I get data2
Now the question is how to get data2 if there is no row in T1
and data1 if there is no data in T2
Any ideas???