登录
首页 » SQL Server » 在自主开发的在线判题系统中应用游标

在自主开发的在线判题系统中应用游标

于 2022-07-17 发布 文件大小:1.05 kB
0 215
下载积分: 2 下载次数: 1

代码说明:

应用背景Online Judge( 简称 OJ) 一般指在国际大学生程序设计竞赛等各种形式的编程比赛中用来评测参赛选手程序的正确性与时空效率的程序以及评测程序所依托的网络环境。讨论了游标在OJ中的应用,重点讨论了在考试帐号随机分配存储过程中, 以及在删除答案的触发器中应用游标实现逐行存取数据的问题.关键技术应用游标机制以便每次处理关系表中的一行或一部分行。采用 Transact SQL 游标,在存储过程或触发器中使用 Transact SQL 游标的典型过程为: a. 使用 DECLARE CURSOR 语句声明 Transact SQL 游标; b. 使用 OPEN 语句打开游标; c. 使用 FETCH 语句提取单个行; d. 使用 CLOSE 语句及 DEALLOCATE 语句关闭并释放游标.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • mysql-manual
    本书适合于准备用MySQL进行系统开发的设计人员和编程人员学习。(This book is suitable for development of systems ready to use MySQL designers and programmers to learn.)
    2014-09-11 16:15:57下载
    积分:1
  • C#数据库与ASP网站
    用asp模板创建网,并连接到数据库,在网站读取或修改数据库数据。该数据库是自定义数据库,自己编写的存储机制。
    2022-02-01 09:30:34下载
    积分:1
  • VFP
    vfp软件编程,少许的软件,本人菜鸟,不会编写,只能作这么多(vfp software programming, some software, I am rookie, do not write, can only make so many)
    2011-01-10 17:21:47下载
    积分:1
  • 车票信息系统用于vb课程设计是初级软件,仅供学生做课程设计使用...
    车票信息系统用于vb课程设计是初级软件,仅供学生做课程设计使用-ticket information system for vb primary curriculum design software, is for students to do course design
    2022-04-12 07:41:37下载
    积分:1
  • 物业管理必备软件-房租管理系统
    物业管理必备软件,房租管理,统计提醒承租人缴费,续签合同,业务内容打印,方便,可靠。
    2022-01-27 09:41:15下载
    积分:1
  • Telematica
    Eform SQL to get data from database. filter sql, testing ,development , thanks.
    2022-04-14 12:26:13下载
    积分:1
  • a development environment OS : Windows 2000 Server SP2 IDE : Visual Studio 6.0 S...
    一 开发环境 OS: Windows 2000 Server + SP2 IDE: Visual Studio 6.0 + SP5 DataBase: SQL 2000 Server + SP2 二 运行 1:创建数据库 将TRADE.sql中的SQL语句考入SQL Server的查询分析器中,全部运行; 2:建立ODBC数据源 数据原名称为Trade_MIS-a development environment OS : Windows 2000 Server SP2 IDE : Visual Studio 6.0 SP5 DataBase : SQL Server 2000 running a two SP2 : TRADE.sql database will be created in the SQL Server SQL admitted to the inquiry Analyzer all operations; 2 : build ODBC data source data formerly known as Trade_MIS
    2022-02-15 14:00:25下载
    积分:1
  • 摘要:本程序将建立一个用邻接表方式存储的有向图,可以进行插入顶点或边的操作,可以输出有向图的信息或输出该有向图的拓扑有向序列。...
    摘要:本程序将建立一个用邻接表方式存储的有向图,可以进行插入顶点或边的操作,可以输出有向图的信息或输出该有向图的拓扑有向序列。-Abstract: This procedure will create a stored using adjacency list of the directed graph that can be inserted into the operation of vertex or edge, you can output to the map information or the output of the topology graph has to have the sequence.
    2022-01-20 22:44:45下载
    积分:1
  • sql/asp code for shopping cart
    sql/asp code for shopping cart
    2022-01-25 17:26:02下载
    积分:1
  • 在SQL中删除重复记录 学习sql有一段时间了,发现在我建了一个用来测试的表(没有建索引)中出现了许多的重复记录。后来总结了一些删除重复记录的方法,在Ora...
    在SQL中删除重复记录 学习sql有一段时间了,发现在我建了一个用来测试的表(没有建索引)中出现了许多的重复记录。后来总结了一些删除重复记录的方法,在Oracle中,可以通过唯一rowid实现删除重复记录;还可以建临时表来实现...这个只提到其中的几种简单实用的方法,希望可以和大家分享(以表employee为例)。-SQL delete duplicate records sql learning for a long time, I found in a building used for the test (not built Index) There"s a lot of duplication of records. Later up in the deletion of duplicate records, Oracle, can only achieve rowid delete duplicate records; Also temporary tables can be built to achieve ... the only mention of several simple, practical methods, and we hope to share (table employee example).
    2023-05-24 08:40:03下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载