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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

154 KEYSET_SIZE= LIBNAME Option 4 Chapter 10SyntaxINTERFACE=filenameDetailsThe interfaces file contains names and access in<strong>for</strong>mation <strong>for</strong> the available servers onthe network. If you omit a filename, the default action <strong>for</strong> your operating system occurs.INTERFACE= is not used in some operating environments. Contact your databaseadministrator to see whether this statement applies to your computing environment.KEYSET_SIZE= LIBNAME OptionSpecifies the number of rows that are driven by the keyset.Default value: 0Valid in: <strong>SAS</strong>/<strong>ACCESS</strong> LIBNAME statement and some DBMS-specific connectionoptions. See the DBMS-specific reference section <strong>for</strong> details.DBMS support: Microsoft SQL Server, ODBCSyntaxKEYSET_SIZE=number-of-rowsSyntax Descriptionnumber-of-rowsis an integer with a value between 0 and the number of rows in the cursor.DetailsThis option is valid only when CURSOR_TYPE=KEYSET_DRIVEN.If KEYSET_SIZE=0, then the entire cursor is keyset driven. If you specify a valuegreater than 0 <strong>for</strong> KEYSET_SIZE=, the chosen value indicates the number of rowswithin the cursor that functions as a keyset-driven cursor. When you scroll beyond thebounds that are specified by KEYSET_SIZE=, the cursor becomes dynamic and newrows might be included in the cursor. This becomes the new keyset and the cursorfunctions as a keyset-driven cursor again. Whenever the value that you specify isbetween 1 and the number of rows in the cursor, the cursor is considered to be a mixedcursor because part of the cursor functions as a keyset-driven cursor and part of thecursor functions as a dynamic cursor.See AlsoTo apply this option to an individual data set, see the “KEYSET_SIZE= Data SetOption” on page 333.“CURSOR_TYPE= LIBNAME Option” on page 115

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

Saved successfully!

Ooh no, something went wrong!