这些主题将讲解如何使用游标库。
游标库管理着包含快照记录的缓冲区。
The cursor library manages a buffer containing the snapshot's records.
因此,快照只与游标库的缓冲区一样新。
Therefore, the snapshot is only as current as the cursor library's buffer.
本主题介绍odbc游标库并说明如何使用。
This topic describes the ODBC Cursor Library and explains how to use it.
动态集不使用游标库。
级驱动程序不需要游标库,因为它们已是可滚动的。
Level 2 drivers do not need the cursor library because they are already scrollable.
“客户端批处理端”游标使用旨在处理并发问题的游标库。
Client Batch Side cursors use a cursor library designed to deal with concurrency issues.
odbc游标库是一个驻留在ODBC驱动程序管理器和驱动程序之间的动态链接库(DLL)。
The ODBC Cursor library is a dynamic-link library (DLL) that resides between the ODBC driver Manager and the driver.
上述这些游标都很有用,但是,直接操纵游标的实际价值在于在特定位置更新数据库的能力。
All of this is fine, but the real value of directly manipulating a cursor is the ability to update the database at a particular position.
您可能还会考虑您用来优化数据库访问的游标类型。
You might also want to consider the type of cursor you should use to optimize data access.
这意味着数据库服务器已用尽动态游标。
This means the database server has run out of dynamic cursors.
因为可以在运行数据库应用程序代码的JVM之外管理连接或数据库游标这样的资源,所以应用程序必须显式地关闭这些资源。
Because these resources, like the connection or any database cursors, can be managed outside the JVM running your database application code, your application must close them explicitly.
在前面的示例中,两个用户交互之间将保持数据库游标打开,从而防止其他用户访问被锁定的数据段。
The previous example held the database cursor open between user interactions, preventing other users from accessing database segments that are locked.
要利用此项功能,您需要按名称引用数据库游标,如清单6所示。
To utilize this functionality, you need to refer to the database cursor by name, as shown in Listing 6.
如清单1中的示例所示,要使用SQL游标,您必须有一个适当的数据库。
As the example in Listing 1 demonstrates, to work with an SQL cursor, you need to have a suitable database.
当您通过数据库的一个或多个表选择一组数据时,返回的数据也称为游标。
When you select a set of data from a table or tables in a database, the returned data is known as a cursor.
游标是一种数据库结构,它将允许您循环访问SQL查询的结果。
A cursor is a database structure that allows you to iterate through the results of an SQL query.
敏感游标将提供底层数据的一个动态视图,而不敏感游标通常对游标打开时数据库的变化不敏感。
A sensitive cursor provides a dynamic view of the underlying data, whereas an insensitive cursor generally isn't sensitive to any changes made to the database while the cursor is open.
游标是一种常见的数据库抽象,允许逐行查看和处理查询的结果。
Cursors are a common database abstraction that allow programs and you to view and, thereby, process the results of a query one row at a time.
如果Oracle数据库是源数据库,要确保设置大约10000个打开的游标。
Make sure your have around 10000 open cursors setting for the Oracle database if that is the source.
XMLReader是一种pull解析器,其编码方法和数据库查询结果表的游标中非常类似。
XMLReader is a pull parser and you code for it in much the same way as for a database query result table in a cursor.
在两种情况下,此功能在Derby数据库(或者任何其他兼容sql的数据库)中都是通过游标来实现的。
In both cases, this functionality is implemented within the Derby database (or any other SQL-compliant database) by a cursor.
在两种情况下,此功能在Derby数据库(或者任何其他兼容sql的数据库)中都是通过游标来实现的。
In both cases, this functionality is implemented within the Derby database (or any other SQL-compliant database) by a cursor.
应用推荐