.bday,t2.address,t2.contactnumleft join table2 as t2 on t1.p_id = t2.p_id casewhen @qualified = '3' then t2.role is not null此查询的目的是获取表中的空行和非空行,具体取决于参数@ q
嘿,基本上,我得到了三个乘积,当和等于2时,我希望它被算作1或0。我想知道逻辑是用这段代码写的,还是可以改进的?casewhen sum(hase=1 OR hasd=1 OR hasf=1)=2则1否则0结束为Xavc
我尝试使用这段代码是这样的:客户可能不会拥有所有三个产品,但是,如果他有两个产品或三个产品
我想知道的是,是否可以在Case语句中对表进行更新?或者有什么办法可以做到?我有一个按钮来拉一个报告(这个按钮会转到并调用一个存储过程,它会得到一个列及其驻留列的列表)。CampaignName AS 'CAMPAIGN NAME', CASEWHEN EndDate >= GETDATE() AND StartDate <= G
有没有人能帮我写下Informatica PowerCenter中表达式转换中的case语句?CaseWhen STATUS_REASON_CODE in ( 'BI Complete' , 'BI Updated', 'BI Complete') and Outcome__c isnull and BI_Outcome__c is null then 'PA Required'
<em