SQLServerでWhileループを使う DECLARE cur CURSOR FOR SELECT DATA_ID FROM YOUR_TABLE; OPEN cur FETCH NEXT FROM cur INTO @dataId WHILE @@FETCH… 高瀬 裕介ハック2013.10.16 2,662