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.

196 UPDATE_LOCK_TYPE= LIBNAME Option 4 Chapter 10UPDATE_LOCK_TYPE= LIBNAME OptionSpecifies how data in a DBMS table is locked during an update transaction.Default value: DBMS-specificValid in: <strong>SAS</strong>/<strong>ACCESS</strong> LIBNAME statementDBMS support: DB2 under UNIX and PC Hosts, DB2 under z/OS, Microsoft SQL Server,ODBC, OLE DB, Oracle, Sybase, Sybase IQ, TeradataSyntaxUPDATE_LOCK_TYPE=ROW | PAGE | TABLE | NOLOCK |VIEWSyntax DescriptionROW [valid <strong>for</strong> DB2 under UNIX and PC Hosts, Microsoft SQL Server, ODBC,Oracle]locks a row if any of its columns are to be updated.PAGE [valid <strong>for</strong> Sybase]locks a page of data, which is a DBMS-specific number of bytes. This value is notvalid <strong>for</strong> the Sybase interface when you use the .TABLE [valid <strong>for</strong> DB2 under UNIX and PC Hosts, DB2 under z/OS, Microsoft SQLServer, ODBC, Oracle, Sybase IQ, Teradata]locks the entire DBMS table.NOLOCK [valid <strong>for</strong> Microsoft SQL Server, ODBC with Microsoft SQL Server driver,OLE DB, Oracle, Sybase]does not lock the DBMS table, page, or any rows when reading them <strong>for</strong> update. (Thisvalue is valid in the Microsoft SQL Server, ODBC, Oracle, and Sybase interfaces.)VIEW [valid <strong>for</strong> Teradata]locks the entire DBMS view.DetailsYou can set a lock <strong>for</strong> one DBMS table by using the data set option or <strong>for</strong> a group ofDBMS tables by using the LIBNAME option. See the locking topic <strong>for</strong> your interface inthe DBMS-specific reference section <strong>for</strong> details.See AlsoTo apply this option to an individual data set, see the “UPDATE_LOCK_TYPE= DataSet Option” on page 397.“SCHEMA= LIBNAME Option” on page 181UPDATE_MODE_WAIT= LIBNAME OptionSpecifies during <strong>SAS</strong>/<strong>ACCESS</strong> update operations whether Teradata should wait to acquire a lock orfail the request when a different user has locked the DBMS resource.

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

Saved successfully!

Ooh no, something went wrong!