[软件设计/软件工程] SQL语句:SQLWHILE(0=0)与WHILE @@FETCH_STATUS=0.

[复制链接]
发表于 2022-5-2 13:03:39
第一句是SQL循环用的,这个条件下,会读取所有的记录,因为会一直循环;

第二句是游标里的,@@fetch_status=0   等于0时,说明游标是成功的.

(The first sentence is for SQL loop. Under this condition, all records will be read, because it will loop all the time;
The second sentence is in the cursor, @ @ fetch_ When status = 0 equals 0, the cursor is successful
)





上一篇:VERILOGHDL 8位串行乘法器解析(二)
下一篇:CENTOS 6.3下安装PHP 5.3.3 XDEBUG的方法和步骤

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表