摘要: select aa,bb,(CASE when len(cc)>14 then left(字段,len(字段)-4) else left(字段,len(字段)-7) end)as 新字段名 from table where xx like '%xx%'--字符串从末位切割 left(字段,len(字 阅读全文
posted @ 2021-11-30 11:45 薛李淑月 阅读(369) 评论(0) 推荐(0) 编辑