SQLServer clipping function substring function

declare @name char (1000) - Note: char (10) is 10 bits, if the bit number of error data will 

SET @ name = 'sss} {S} dghdf fggh FC {X} {CCCS' 
SELECT the substring ( @ name, 1,6) col

 

 

Guess you like

Origin www.cnblogs.com/baxianhua/p/11911128.html