江 江维 Unregistered / Unconfirmed GUEST, unregistred user! 2001-04-02 #4 当然可以啦!在SQL SERVER里这样用的 DECLARE c_1 CURSOR SCROLL FOR SELECT * FROM aa WHERE bb='cc' OPEN c_1 FETCH FIRST FROM c-1 into @aa,@bb WHILE @@FETCH_STATUS=0 BEGIN ..... FETCH NEXT FROM C_1 INTO @aa,@bb END CLOSE c_1 DEALLOCATE c_1
当然可以啦!在SQL SERVER里这样用的 DECLARE c_1 CURSOR SCROLL FOR SELECT * FROM aa WHERE bb='cc' OPEN c_1 FETCH FIRST FROM c-1 into @aa,@bb WHILE @@FETCH_STATUS=0 BEGIN ..... FETCH NEXT FROM C_1 INTO @aa,@bb END CLOSE c_1 DEALLOCATE c_1
左 左轻侯 Unregistered / Unconfirmed GUEST, unregistred user! 2001-04-21 #6 请参考这个问题 http://www.delphibbs.com/delphibbs/dispq.asp?LID=511458