2013年5月6日
摘要: ALTER FUNCTION [dbo].[LastIndexOf] (@stringValue as nvarchar(1000), @stringSearch as nvarchar(1000)) returns intASBEGIN DECLARE @lastindex int SET @lastindex= 0 DECLARE @tempindex int while (1=1) begin SET @tempindex = charindex(@stringSearch, @stringValue, @lastindex + 1)... 阅读全文
posted @ 2013-05-06 16:44 一粒沙 阅读(357) 评论(0) 推荐(0) 编辑