摘要: --求父级代码 SELECT SUBSTRING ('A.001.001.0001', 0,len('A.001.001.0001')-charindex('.',REVERSE('A.001.001.0001'))+1)--REVERSE 是反转,charindex 是求出现的第一个位置 阅读全文
posted @ 2018-10-23 15:23 Prorsal 阅读(229) 评论(0) 推荐(0) 编辑