摘要:
CREATE FUNCTION dbo.UrlDecode(@url varchar(3072))RETURNS varchar(3072)ASBEGIN DECLARE @count int, @c char(1), @cenc char(2), @i int, @urlReturn varchar(3072) SET @count = Len(@url) SET @i = 1 SET @urlReturn = '' WHILE (@i 0 SELECT @High = CHARINDEX(SUBSTRING(@URL, @Posit... 阅读全文