10
根据以下描述,我必须在SQL server中构建一条CASE...END
语句,帮助我构造复杂的CASE...END
语句以满足以下条件。在Sql Server中结合单个case语句中的多个条件
if PAT_ENT.SCR_DT is not null and PAT_ENTRY.ELIGIBILITY is null then display display 'Favor'
if PAT_ENT.SCR_DT is not null and PAT_ENTRY.EL is equal to No, display 'Error'
if PAT_ENTRY.EL is Yes and DS.DES is equal to null or OFF, display 'Active'
if DS.DES is equal to N, display 'Early Term'
if DS.DES is equal to Y, display 'Complete'
在此先感谢。
谢谢:)有一个愉快的一天 – swetha 2010-06-15 07:13:50