6、游标
来源:互联网 发布:数据分析系统建设方案 编辑:程序博客网 时间:2024/06/04 23:03
1、游标
use Xk
go
declare mycursor cursor for select Top 5 ClassNo,ClassName from Class
open mycursor
fetch next from mycursor
while @@fetch_status=0
begin
fetch next from mycursor
end
close mycursor
deallocate mycursor
update seller set sex='女' where current of mycursor
delete from seller where current of mycursor
use Xk
go
declare mycursor cursor for select Top 5 ClassNo,ClassName from Class
open mycursor
fetch next from mycursor
while @@fetch_status=0
begin
fetch next from mycursor
end
close mycursor
deallocate mycursor
update seller set sex='女' where current of mycursor
delete from seller where current of mycursor
- 6、游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- 游标
- java StackTraceElement 日志
- Javascript JSON
- XtraGrid 做为数据源的持久类利用外键,可以设外键来显示外键关联的所有字段
- PayPal的正确写法
- Android之传感器系统(Gsensor) .
- 6、游标
- HDU1207——汉诺塔II
- Ubuntu的基本用法
- SQL 多条件查询
- xcode错误整理
- 【转】ASP.NET中的状态管理
- 使用 shell 脚本对 Linux 系统和进程资源进行监控
- NSTimer会retain target,在invalidate时释放
- java io