Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » 使用 SQL Anywhere 编程简介 » 在应用程序中使用 SQL » 选择游标类型

 

块状游标

ODBC 提供了一种称为块状游标的游标类型。当您使用 BLOCK 游标时,可以使用 SQLFetchScroll 或 SQLExtendedFetch 读取一整块行,而不是单行。块状游标的行为与嵌入式 SQL ARRAY 读取完全相同。