SELECt @phoneNumber=CASE WHEN ISNULL(rdg2.nPhoneNumber ,'0') in ('0','-',NULL)THEN ISNULL(rdg2.nMobileNumber, '0') WHEN ISNULL(rdg2.nMobileNumber, '0') in ('0','-',NULL)THEN '0' ELSE ISNULL(rdg2.nPhoneNumber ,'0')END FROM tblReservation_Details_Guest rdg2 WHERe nReservationID=@nReservationID
只需输入“ 0”而不是0
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)