footleg

导航

2020年3月3日

在SQLSERVER中处理特殊字符以及空格。

摘要: --去除特殊字符,只留0-9,a-z,A-Z declare @teststr varchar(100) set @teststr='test #123^we' while patindex('%[^0-9a-zA-Z]%',@teststr)>0 SET @teststr=STUFF(@tests 阅读全文

posted @ 2020-03-03 16:56 迷途 阅读(1427) 评论(0) 推荐(0) 编辑