what is the oracle cursor?
2008-12-31 10:09
323 查看
什么是CURSOR,ORACLE的文档作了如下定义:
A cursor is a handle (a name or pointer) for the memory associated with a specific statement. (Oracle Call Interface, OCI, refers to these as statement handles.) Although most Oracle users rely on automatic cursor handling of Oracle utilities, the programmatic interfaces offer application designers more control over cursors.
For example, in precompiler application development, a cursor is a named resource available to a program and can be used specifically to parse SQL statements embedded within the application. Application developers can code an application so it controls the phases of SQL statement execution and thus improves application performance.
An Oracle cursor is a handle to an area in memory that holds the result set of a SQL query, enabling you to individually process the rows in the result set. Oracle uses implicit cursors for all DML statements. Explicit cursors are created and used by application coders.
A cursor is a handle (a name or pointer) for the memory associated with a specific statement. (Oracle Call Interface, OCI, refers to these as statement handles.) Although most Oracle users rely on automatic cursor handling of Oracle utilities, the programmatic interfaces offer application designers more control over cursors.
For example, in precompiler application development, a cursor is a named resource available to a program and can be used specifically to parse SQL statements embedded within the application. Application developers can code an application so it controls the phases of SQL statement execution and thus improves application performance.
An Oracle cursor is a handle to an area in memory that holds the result set of a SQL query, enabling you to individually process the rows in the result set. Oracle uses implicit cursors for all DML statements. Explicit cursors are created and used by application coders.
相关文章推荐
- What is the difference between Views and Materialized Views in Oracle?
- What Is The Maximum Tablespace Size And Database Limit For An Oracle Database ? (文档 ID 1372905.1)
- Oracle: What is the ORACLE_SID and DB_NAME name ?
- What or Why is the dual table in Oracle?
- What is the difference of x=x+3 and x+=3?
- What is the difference between M2_HOME and MAVEN_HOME
- oracle 修改全局数据库名称 & the account is locked
- What is the best Java email address validation method?
- What is the difference between database table and database view?
- What is the "internal" interface and port for on Openvswitch?
- linux安装问题:what is the location of the gcc program on your machine
- What is the Web Application Developer Framework
- What is the difference between SLC and MLC?
- What is the difference between max-device-width and max-width for mobile web?
- What is the dSYM?
- What is the context-Awareness?
- SSH - what is the differnence between authorized_keys and authorized_keys2
- What is the difference between a thread and a process?
- What is SCAN in Oracle 11g R2 RAC
- What is the Indexing Service?