会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
薛李淑月
博客园
首页
新随笔
联系
订阅
管理
2021年11月30日
SQLserver 字符串切割末位以及case when 判断大小
摘要: 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)
编辑
公告