SQL-反向查找最后一个分隔符的位置

len('Acds-1a-a')-CHARINDEX('-',reverse('Acds-1a-a'))+1
posted @ 2012-08-24 09:20  Rex.He  阅读(791)  评论(0编辑  收藏  举报