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

推荐订阅源

美团技术团队
D
DataBreaches.Net
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Check Point Blog
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
IT之家
IT之家
月光博客
月光博客
U
Unit 42
K
Kaspersky official blog
T
Threatpost
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
P
Proofpoint News Feed
Last Week in AI
Last Week in AI
云风的 BLOG
云风的 BLOG
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
Engineering at Meta
Engineering at Meta
Recorded Future
Recorded Future
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security @ Cisco Blogs
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Security Archives - TechRepublic
Security Archives - TechRepublic
Webroot Blog
Webroot Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
Schneier on Security
S
Secure Thoughts
The Register - Security
The Register - Security
B
Blog RSS Feed
The Last Watchdog
The Last Watchdog
P
Palo Alto Networks Blog
爱范儿
爱范儿
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News and Events Feed by Topic
阮一峰的网络日志
阮一峰的网络日志
L
LINUX DO - 热门话题
C
Cisco Blogs
Spread Privacy
Spread Privacy
F
Full Disclosure
博客园 - 聂微东
T
The Blog of Author Tim Ferriss

博客园 - 四海

定时提醒助手 kettle 创建任务定时执行数据抽取 js 图形化工作流设计器 更新树层结构 工作流设计 jquery 固定行列可编辑表格-jfixed 简单实用ORM框架 oracle 数据库实体生成工具 Js 弹出框 返回值的两种常用方法 c#做的查看sybase数据库表 sql 查询执行顺序 转载网络ASP与SQL Server存储过程 有创业兴趣的来看看 marquee中嵌入datalist 滚动 XMLHttpRequest 对象 System.Web.HttpRequestValidationException:解决方法 实现业务系统中的用户权限管理--实现篇 实现业务系统中的用户权限管理--设计篇 Page.ClientScript.RegisterStartupScript()
一个有用的存储过程
四海 · 2009-05-31 · via 博客园 - 四海

一个有用的存储过程

truncate table VOC_Sys_Valuation
begin
SET NOCOUNT ON;
    DECLARE @userId varchar(50),@gameId int,@GameName nvarchar(50)
    DECLARE @count int
    SET @count = 0
    SELECT @count = count(*) FROM  VOC_Sys_GameList
    WHILE @count > 0
    BEGIN
        SELECT @gameId = GameID,@GameName=GameName FROM VOC_Sys_GameList where ID=@count
        insert into VOC_Sys_Valuation(GameId,GameName) values(@gameId,@GameName)
        SET @count = @count -1
    END
END

posted on 2009-05-31 16:46  四海  阅读(232)  评论()    收藏  举报