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.

<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle 4 Passing <strong>SAS</strong> Functions to Oracle 723This next example uses the APPEND option to append rows from the INVDATA dataset, which was created previously, to an existing Oracle table named INVOICE.proc dbload dbms=oracle data=invdata append;user=testuser;orapw=testpass;path=’myorapath’;table=invoice;load;run;Maximizing Oracle Per<strong>for</strong>manceThere are several measures you can take to optimize per<strong>for</strong>mance when using<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle. For general in<strong>for</strong>mation about improvingper<strong>for</strong>mance when using <strong>SAS</strong>/<strong>ACCESS</strong> engines, see Chapter 4, “Per<strong>for</strong>manceConsiderations,” on page 35.<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle has several options that you can use to furtherimprove per<strong>for</strong>mance.3 For tips on multi-row processing, see these LIBNAME options: INSERTBUFF,UPDATEBUFF, and READBUFF.3 For instructions on using the Oracle SQL*Loader to increase per<strong>for</strong>mance whenloading rows of data into Oracle tables, see “Passing Functions to the DBMS UsingPROC SQL” on page 42.If you choose the transactional inserting of rows (specify BULKLOAD=NO), you canimprove per<strong>for</strong>mance by inserting multiple rows at a time. This per<strong>for</strong>manceenhancement is comparable to using the Oracle SQL*Loader Conventional Path Load.For more in<strong>for</strong>mation about inserting multiple rows, see the INSERTBUFF= option.Passing <strong>SAS</strong> Functions to Oracle<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle passes the following <strong>SAS</strong> functions to Oracle <strong>for</strong>processing. Where the Oracle function name differs from the <strong>SAS</strong> function name, theOracle name appears in parentheses. For more in<strong>for</strong>mation, see “Passing Functions tothe DBMS Using PROC SQL” on page 42.3 ABS3 ARCOS (ACOS)3 ARSIN (ASIN)3 ATAN3 AVG3 CEIL3 COS3 COSH3 COUNT3 DATEPART3 DATETIME (SYSDATE)3 DTEXTDAY

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

Saved successfully!

Ooh no, something went wrong!