declare @name char(1000) --注意:char(10)为10位,要是位数小了会让数据出错

set @name='s{sss}fc{fggh}dghdf{cccs}x'
select substring(@name,1,6) col

 

 

相关文章:

  • 2021-10-12
  • 2021-06-13
  • 2022-01-15
  • 2021-12-26
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2022-02-14
  • 2022-03-04
相关资源
相似解决方案