January 2005
Beginner to intermediate
928 pages
22h 14m
English
A schema is a database object used to logically group other database objects. Every database object name has two parts:
schema_name.object_name
This two-part name (also known as the fully qualified name) must be unique within the database. Here are some examples:
db2admin.tab1 mary.idx1 sales.tblspace1
When you create an object, it is always created within a schema, even if you do not explicitly specify the schema name. When you do not specify the schema name, DB2 uses the authorization ID (the ID used to connect to the database) as the object's schema. If you connect to a database as peter and in a query specify a table simply as tab1, DB2 will interpret this as peter.tab1.
NOTEA schema does not need to map to a user ID. Any ... |
Read now
Unlock full access