摘要: 游标 @@FETCH_STATUS   =0 Fetch语句成功 =-1 Fetch语句失败或不在结果集中    =-2 提取的行不存在 通过@@FETCH_STATUS做循环 create table #temp ( activityid nvarchar(4), acttype nvarchar(10) ) declare my_curso... 阅读全文
posted @ 2010-03-29 10:27 zqstc 阅读(685) 评论(0) 推荐(0) 编辑