sql中取出字符串中数字

select
     substring(reverse('0->星光'),PATINDEX('%[0-9]%',reverse('0->星光')),1)

  

原文地址:https://www.cnblogs.com/guangzhou11/p/9093066.html