While I'm at it, here is the counterpart to the UrlEncode function – UrlDecode: CREATE FUNCTION dbo . UrlDecode ( @url varchar ( 3072 )) RETURNS varchar ( 3072 ) AS BEGIN DECLARE @count int , @c char ( 1 ), @cenc char ( 2 ), @i int , @urlReturn varchar
Read More...