正在加载图片...
例1、声明一游标,从 Course表中检索所有记录 ■ USE XK dEclare Crs Course CURSOR FOR SELECt FROM Course ORDER BY Couno ■ oPen Crs course FETCH NEXt FROm CrsCourse uPdatE Course set LimitNum=22 WHERE CURRENT OF Crs Course ClOSE Crs Course DEALLOCATE Crs Course例1、声明一游标,从Course表中检索所有记录。 USE Xk DECLARE CrsCourse CURSOR FOR SELECT * FROM Course ORDER BY CouNo OPEN CrsCourse FETCH NEXT FROM CrsCourse UPDATE Course SET LimitNum=22 WHERE CURRENT OF CrsCourse CLOSE CrsCourse DEALLOCATE CrsCourse
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有