摘要: 1. T-sql新增自增长列 1 SET NOCOUNT ON 2 3 DECLARE @id int,@filepath VARCHAR(100) 4 5 SET @id =1 6 7 DECLARE mycursor CURSOR FOR 8 9 SELECT filepath FROM filelist10 11 OPEN mycursor 12 13 FETCH NEXT FROM mycursor 14 INTO @filepath15 16 WHILE @@FETCH_STATUS = 0 17 18 BEGIN 19 ... 阅读全文
posted @ 2012-10-03 20:56 tinaleft 阅读(184) 评论(0) 推荐(0) 编辑