select substring(reverse(‘0->星光‘),PATINDEX(‘%[0-9]%‘,reverse(‘0->星光‘)),1)
sql中取出字符串中数字
原文:https://www.cnblogs.com/guangzhou11/p/9093066.html