Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a question about the Where Exists function. I'm using this to successfully load data from one table only where it exists in another (which I believe is proper use).
Example:
Where Exists ([First_ID], [Second_ID]);
However, from the table with the [Second_ID], I'd also like to specify a additional value to load. Something like, load only values in Second_ID, where they have a match in First_ID, but also load '-1' from Second_ID.
Is something like this possible? Thanks in advance!
R.
Where Exists ([First_ID], [Second_ID])
OR [Second ID]=-1;
Hi Ryan,
You can try loading both separately and then concatenating results of those two.
Regards,
Pankaj
Thanks Michael... I can't believe that was all there was to it -- I was really overthinking this one!