A schema is a logical grouping of database objects. It also is used for name qualifiers, which help naturally organize database objects by their name. The convention for this is <SCHEMA-NAME>.<OBJECT-NAME>. This also allows more than on object to have the same object name as long as each is in a different schema.
For example, if you sold hardware and software, you could have a HARDWARE and SOFTWARE schema. In each of them, you could have an ORDERS table to differentiate between hardware and software orders (HARDWARE.ORDERS and SOFTWARE.ORDERS).
If a schema is not qualified, or explicitly stated when the object is created, the schema name is the user ID of the user who created the object. If I am logged in as db2 user and create a table named TEMP1, the full name of that table would be DB2USER.TEMP1.
Recent Posts
- AI Agents in Data Engineering: Everything You Need to Know
- The End-to-End AI Stack – A Real Guide for Developers to Code, Create, and Execute
- 10 Workplace Communication Speaking Exercises to Improve Fluency at Work
- Step-by-Step: 4 Methods to Create RDS in AWS & Build Schemas
- From Laptop to Cloud: Deploy Your First Production DB Using Amazon RDS





