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.

328 IGNORE_ READ_ONLY_COLUMNS= Data Set Option 4 Chapter 11Default value: NOValid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: DB2 under UNIX and PC HostsSyntaxFETCH_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= LIBNAME Option” on page 148IGNORE_ READ_ONLY_COLUMNS= Data Set 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: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: Aster nCluster, DB2 under UNIX and PC Hosts, Greenplum, HPNeoview, Microsoft SQL Server, Netezza, ODBC, OLE DB, Sybase IQSyntaxIGNORE_READ_ONLY_COLUMNS=YES | NO

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

Saved successfully!

Ooh no, something went wrong!