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.

368 SEGMENT_NAME= Data Set Option 4 Chapter 11privilege SELECT <strong>for</strong> that user’s tables.) For more in<strong>for</strong>mation about changing thedefault database, see the DATABASE statement in your Teradata documentation.ExamplesIn this example, SCHEMA= causes DB2 to interpret MYDB.TEMP_EMPS asSCOTT.TEMP_EMPS.proc print data=mydb.temp_empsschema=SCOTT;run;In this next example, <strong>SAS</strong> sends any reference to Employees as Scott.Employees.libname mydblib oracle user=testuser password=testpass path="myorapath";proc print data=employees (schema=scott);run;In this example, user TESTUSER prints the contents of the Employees table, whichis located in the Donna database.libname mydblib teradata user=testuser pw=testpass;proc print data=mydblib.employees(schema=donna);run;See AlsoTo assign this option to a group of relational DBMS tables or views, see the“SCHEMA= LIBNAME Option” on page 181.“PRESERVE_TAB_NAMES= LIBNAME Option” on page 168SEGMENT_NAME= Data Set OptionLets you control the segment in which you create a table.Default value: noneValid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: SybaseSyntaxSEGMENT_NAME=segment-name

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

Saved successfully!

Ooh no, something went wrong!