Quantcast
Channel: Substring In Sql | Automatic Website Traffic RSS
Viewing all articles
Browse latest Browse all 989

SQL SERVER – Remove Duplicate Chars From String – Part 2

$
0
0
I have already made a post on SQL SERVER – UDF – Remove Duplicate Chars From ... SET @result='' SELECT @result=@result+min(substring(@string ,number,1)) FROM ( SELECT number FROM master..spt_values WHERE type='p' AND number BETWEEN 1 AND len(@string ...

Viewing all articles
Browse latest Browse all 989

Trending Articles