首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于SQL游标的研究与应用
引用本文:赵慧玲,毛应爽,孟宪颖.基于SQL游标的研究与应用[J].科技咨询导报,2012(28):31-32.
作者姓名:赵慧玲  毛应爽  孟宪颖
作者单位:长春工程学院软件学院,吉林长春130012
摘    要:在进行数据操作时,我们经常会遇到一些直接使用简单的sql语句无法直接处理的问题,如逐一的从某一结果集中读取一条记录进行某种操作的情况,利用sql中的游标功能可以有效的解决这类问题。本文通过对sql游标的研究,介绍了sql游标的基本原理及使用技巧,并结合实际阐述了如何利用游标来进行面向单条记录的数据处理。

关 键 词:游标  结果集

Based on the research and application of SQL cursor
Institution:HUI Ling-zhao YING Shuang-mao XIAN Ying-meng (Software institute,changchun institute of technology,changchun 130012,china)
Abstract:During the data operation,we often encounter some problems of simple SQL statement cannot directly solve issues,such as reading a record from the result set one by one to do some operation,the use of the cursor functions in SQL can effectively solve these problems.This article through to the SQL cursor research,introduced the SQL cursor basic principle and use of skills,combined with the reality elaborated how to use the cursor to do the single record data processing.
Keywords:Cursor  Result set
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号