摘要:
declare @name char(1000) --注意:char(10)为10位,要是位数小了会让数据出错 set @name='s{sss}fc{fggh}dghdf{cccs}x' select len(@name) 阅读全文
posted @ 2019-11-22 14:07
筱筱的春天
阅读(17997)
评论(0)
推荐(0)
摘要:
一:charindex()语法 CHARINDEX ( expression1 , expression2 [ , start_location ] ) 解析: expression1 必需 要查找的子字符串 expression2 必需 父字符串 start_location 可选 指定从父字符串 阅读全文
posted @ 2019-11-22 14:01
筱筱的春天
阅读(9990)
评论(0)
推荐(0)
摘要:
declare @name char(1000) --注意:char(10)为10位,要是位数小了会让数据出错 set @name='s{sss}fc{fggh}dghdf{cccs}x' select substring(@name,1,6) col 阅读全文
posted @ 2019-11-22 13:54
筱筱的春天
阅读(1475)
评论(0)
推荐(0)
摘要:
declare @name char(1000) --注意:char(10)为10位,要是位数小了会让数据出错 set @name='s{sss}fc{fggh}dghdf{cccs}x' select value from string_split(@name,'}') nam 阅读全文
posted @ 2019-11-22 13:51
筱筱的春天
阅读(654)
评论(0)
推荐(0)
摘要:
declare @name char(1000) --注意:char(10)为10位,要是位数小了会让数据出错 set @name='ssssfcfgghdghdfcccs' select replace(@name,'f','A') nam 阅读全文
posted @ 2019-11-22 13:47
筱筱的春天
阅读(824)
评论(0)
推荐(0)

浙公网安备 33010602011771号