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

set @name='s{sss}fc{fggh}dghdf{cccs}x'

select len(@name)

 

 

相关文章: