摘要: 1 DECLARE @list VARCHAR(100), @cnt INT, @idxStart INT, @idxEnd INT 2 DECLARE @sites TABLE(id INT) 3 4 SET @list = '23, 34, 44, 56, 78'; 5 --SET @list = '23'; 6 7 SET @list = replace(@list, ' ', '') 8 9 IF(RIGHT(@list, 1)<>',')10 SET @list = @list + ' 阅读全文
posted @ 2012-12-10 16:43 ☆大森林☆ 阅读(2050) 评论(2) 推荐(0) 编辑