Enables you to read database objects, such as tables, in the specified DBMS schema.
Valid in: | DATA and PROC steps |
Default: | LIBNAME statement setting |
Supports: | DB2 under UNIX and PC, Greenplum, MySQL, ODBC, Oracle, Teradata |
is the name that is assigned to a logical classification of objects in a relational database.
proc print data=mydb.temp_emps (schema=SCOTT); run;
libname mydblib fedsvr server="d1234.us.company.com" port=2171 user=user1 pwd=pass1 dsn=oradsn dsnuser=orauser dsnpwd=orapwd; proc print data=mydblib.employees (schema=scott); run;
libname mydblib fedsvr server="d1234.us.company.com" port=2171 user=user1 pwd=pass1 dsn=teradsn dsnuser=terauser dsnpwd=terapwd; proc print data=mydblib.employees (schema=donna); run;