create table tb(imgPath varchar(50))
 insert into tb select 'd1/d2/f1'--d1/d2/dd/f1 
  select left(imgPath,len(imgPath)-charindex('/',reverse(imgPath))) from tb

相关文章:

  • 2022-12-23
  • 2021-12-07
  • 2021-12-18
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2022-01-28
猜你喜欢
  • 2022-12-23
  • 2022-03-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2021-07-07
相关资源
相似解决方案