Archives of the TeradataForum
Message Posted: Wed, 06 Oct 2010 @ 14:19:11 GMT
<-- Anonymously Posted: Wednesday, October 6, 2010 10:11 -->
Thanks in advance for any insights.
I am building a JI with a goal to agg some amounts to the same level as some equivalent SQL. The SQL uses a coalesce to convert a NULL to a value of -1, then performs the grouping of subsequent amounts. Any thoughts on how to perform the coalesce and the grouping?
Is the coalesce equivalent impossible?
Select XREF.mstr_prty_id , COALESCE (MSTR_PRTY_CUR.glbl_ult_prnt_entrprs_prty_id, -1) glbl_ult_prnt_entrprs_prty_id , XREF.mstr_prty_type_cd
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|