惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed

博客园 - DiviSoft

出如此错误,同样的代码却能在另一台机器执行(估计是补丁问题 - DiviSoft - 博客园 PHP下的DLL Accesss Denied解决之道 xp下的host文件配置 sqlserver in子句的使用?--如何实现CorpIDSet作为ID集合使用,能在存储过程中正确执行如一般SQL效果? 急:为什么我把本子置为 standby 待机 ,就唤不醒了呢(唤醒我的笔记本) php 安全介绍。。 j#操作EXCEL css 文本输出方式 采用textarea 转载:操作EXCEL .NET JDK在LINUX安装 js for myself 常用JS,HTML对象 smarty 模板 JavaScript类(转载) XML解析问题 php+cookies 使页面里所有大于_width的图片,全部成比例缩小成_width 崚 不能被 iconv(gb2312,utf-8 ,string) DOMDocument for php5
温习存储过程的CURSOR
DiviSoft · 2005-06-27 · via 博客园 - DiviSoft

use esales
declare @myid int
select @myid=2

declare @nCorpID int
declare @nCorpIDDest int
declare @nAction int
declare @nNum int

    declare cursorProcNames cursor for
   SELECT nCorpID,nCorpIDDest,nAction,nNum
   FROM tblOrder
   WHERE (nCorpID = @myid) OR
         (nCorpIDDest = @myid)
    open cursorProcNames

    while 1 = 1
    begin
        fetch next from cursorProcNames into @nCorpID,@nCorpIDDest,@nAction,@nNum
        if @@fetch_status <> 0
            break
 print @nAction
    end