sql中取出字符串中数字

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

  

猜你喜欢

转载自www.cnblogs.com/guangzhou11/p/9093066.html