Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8695

Re: Alias Question

$
0
0

As i don't know the database which you using. Below is my advise.

Instead of creating a alias table. Please try to use coalesce in the joining condition. Coalesce(CustomerID,Zip). If CustomerID is null then zip column will be use for joining condition.

Let me know if coalesce is working in joining condition.


Viewing all articles
Browse latest Browse all 8695

Trending Articles



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