摘要
SQL语言是国际标准化组织(ISO)于1986年公布的关系数据库语言,因此对SQL语言深入研究有重要的应用价值.ORACLE数据库采用的PL/SQL语言中最主要最核心的SE-LECT类语句的查询结果是记录的集合而不是单个记录,为此需要游标机制作为桥梁,把集合转换为单记录处理.笔者论述了ORACLEV7.0中游标的概念、定义方法和使用过程,说明了游标的属性及其在游标打开、访问、关闭前后的变化状态,并举例说明了这些变化的属性及其使用方法.
SQL is a relation database language promulgated by ISO (International Standard Organization) in 1986. It is necessary to make a thorough study of it.Select sentence is a key sentence of PL/SQL in ORACLE database,and its inquiry result is a set of records and not a single record.As the inquired records are processed one by one,it is essential to separate the set of records by means of a cursor.This paper discusses the concept,the definition method and the using process of the cursor in ORACLE V7.0.
出处
《西安石油学院学报》
1997年第3期43-45,共3页
Journal of Xi'an Petroleum Institute
关键词
数据库
活动区
游标
程序语言
free words]:computer programing language,database/[cursor,active set,attribute]