CASE WHEN LEN(GY_YGDM.YSSFZH)>0 THEN left(CAST(GY_YGDM.YSSFZH AS VARCHAR(32)),18) ELSE '-' END AS s求详解

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 07:14:52
CASEWHENLEN(GY_YGDM.YSSFZH)>0THENleft(CAST(GY_YGDM.YSSFZHASVARCHAR(32)),18)ELSE''-''ENDASs求详解CASEWHENL

CASE WHEN LEN(GY_YGDM.YSSFZH)>0 THEN left(CAST(GY_YGDM.YSSFZH AS VARCHAR(32)),18) ELSE '-' END AS s求详解
CASE WHEN LEN(GY_YGDM.YSSFZH)>0 THEN left(CAST(GY_YGDM.YSSFZH AS VARCHAR(32)),18) ELSE '-' END AS s
求详解

CASE WHEN LEN(GY_YGDM.YSSFZH)>0 THEN left(CAST(GY_YGDM.YSSFZH AS VARCHAR(32)),18) ELSE '-' END AS s求详解
这个问题大哥我来帮你解答.