select REVERSE(SUBSTRING(REVERSE(test),0,CHARINDEX('-',REVERSE(test)))) from tmp

备注:其中reverse代表反转的意思

相关文章:

  • 2021-04-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
猜你喜欢
  • 2021-08-13
  • 2021-09-22
  • 2022-12-23
  • 2021-11-11
  • 2021-07-05
  • 2022-12-23
  • 2021-06-07
相关资源
相似解决方案