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.

The LIBNAME Statement <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 IGNORE_ READ_ONLY_COLUMNS= LIBNAME Option 149SyntaxFETCH_IDENTITY=YES | NOSyntax DescriptionYESreturns the value of the last inserted identity value.NOdisables this option.DetailsYou can use this option instead of issuing a separate SELECT statement after anINSERT statement. If FETCH_IDENTITY=YES and the INSERT that is executed is asingle-row INSERT, the engine calls the DB/2 identity_val_local() function and placesthe results into the SYSDB2_LAST_IDENTITY macro variable. Because the DB2engine default is multirow inserts, you must set INSERTBUFF=1 to <strong>for</strong>ce a single-rowINSERT.See Also“FETCH_IDENTITY= Data Set Option” on page 327IGNORE_ READ_ONLY_COLUMNS= LIBNAME OptionSpecifies whether to ignore or include columns whose data types are read-only when generatingan SQL statement <strong>for</strong> inserts or updates.Default value: NOValid in: <strong>SAS</strong>/<strong>ACCESS</strong> LIBNAME statementDBMS support: Aster nCluster, DB2 under UNIX and PC Hosts, Greenplum, HPNeoview, Microsoft SQL Server, Netezza, ODBC, OLE DB, Sybase IQSyntaxIGNORE_READ_ONLY_COLUMNS=YES | NOSyntax DescriptionYESspecifies that the <strong>SAS</strong>/<strong>ACCESS</strong> engine ignores columns whose data types areread-only when you are generating insert and update SQL statements.NOspecifies that the <strong>SAS</strong>/<strong>ACCESS</strong> engine does not ignore columns whose data types areread-only when you are generating insert and update SQL statements.

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

Saved successfully!

Ooh no, something went wrong!