Quantcast
Viewing all articles
Browse latest Browse all 989

Replace Bad Characters in Table

DECLARE @good varchar(50) = 'abcdefghijklmnopqrstuvwxyz 0123456789,.:;''' create TABLE #approved (letter VARCHAR(1)) INSERT #approved (letter) SELECT SUBSTRING(W.WORD, T.idx, 1) FROM (SELECT @good as WORD) W, #tally T WHERE T.idx <= LEN(@good) For my ...

Viewing all articles
Browse latest Browse all 989

Trending Articles