摘要: ;declare @enabledStr varchar(500); set @enabledStr=N'';;declare @type_id int;DECLARE name_cursor CURSOR FORselect id from TableA where name in ('a','b','c') order by idOPEN name_cursor;FETCH NEXT FROM name_cursor INTO @type_id;WHILE @@FETCH_STATUS = 0BEGIN set @enable 阅读全文
posted @ 2012-07-11 15:40 baby_cz 阅读(132) 评论(0) 推荐(0)