For this option to work,
you must have the appropriate privileges to the specified schema.
If you do not specify
this option, you connect to the default schema for your DBMS.
The values for SCHEMA=
are usually case sensitive, so use care when you specify this option.
Aster n
Cluster: The
default is
none
, which uses the database
user's default schema. However, the user name is used instead when
the user's default scheme is the user name. An example is when SQLTables
is called to obtain a table listing using PROC DATASETS or SAS Explorer.
Oracle: Specify
a schema name to be used when referring to database objects. SAS can
access another user's database objects by using a specified schema
name. If PRESERVE_TAB_NAMES=NO, SAS converts the SCHEMA= value to
uppercase because all values in the Oracle data dictionary are uppercase
unless quoted.
Sybase: You
cannot use the SCHEMA= option when you use UPDATE_LOCK_TYPE=PAGE to
update a table.
Teradata: If
you omit this option, a libref points to your default Teradata database,
which often has the same name as your user name. You can use this
option to point to a different database. This option lets you view
or modify a different user's DBMS tables or views if you have the
required Teradata privileges. (For example, to read another user's
tables, you must have the Teradata privilege SELECT for that user's
tables.) For more information about changing the default database,
see the DATABASE statement in your Teradata documentation.