13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

116 CURSOR_TYPE= LIBNAME Option 4 Chapter 10SyntaxCURSOR_TYPE=DYNAMIC | FORWARD_ONLY | KEYSET_DRIVEN | STATICSyntax DescriptionDYNAMICspecifies that the cursor reflects all changes that are made to the rows in a result setas you move the cursor. The data values and the membership of rows in the cursorcan change dynamically on each fetch. This is the default <strong>for</strong> the DB2 under UNIXand PC Hosts, Microsoft SQL Server, and ODBC interfaces. For OLE DB details, see“Details” on page 116.FORWARD_ONLY [not valid <strong>for</strong> OLE DB]specifies that the cursor functions like a DYNAMIC cursor except that it supportsonly sequential fetching of rows.KEYSET_DRIVENspecifies that the cursor determines which rows belong to the result set when thecursor is opened. However, changes that are made to these rows are reflected as youscroll around the cursor.STATICspecifies that the cursor builds the complete result set when the cursor is opened. Nochanges that are made to the rows in the result set after the cursor is opened arereflected in the cursor. Static cursors are read-only.DetailsNot all drivers support all cursor types. An error is returned if the specified cursor typeis not supported. The driver is allowed to modify the default without an error. See yourdatabase documentation <strong>for</strong> more in<strong>for</strong>mation.When no options have been set yet, here are the initial DBMS-specific defaults.DB2 under UNIXand PC HostsMicrosoft SQLServer ODBC OLE DBKEYSET_DRIVEN DYNAMIC FORWARD_ONLY FORWARD_ONLY

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!