Create a schema

A schema is the basic object in which tables, views, indexes, and packages are placed. For more information about creating a schema, see SQL CREATE SCHEMA statement in the SQL Reference topic.
Note: The term collection can be used synonymously with schema.

To create a sample schema named SAMPLECOLL, follow these steps:

  1. Enter the following SQL statement on the Enter SQL Statements panel:
                                 Enter SQL Statements
     
    Type SQL statement, press Enter.
         Current connection is to relational database SYSTEM1
    ===> CREATE SCHEMA SAMPLECOLL_____________________________________________
         _____________________________________________________________________
         _____________________________________________________________________
         _____________________________________________________________________
                                                                      Bottom
    F3=Exit   F4=Prompt   F6=Insert line   F9=Retrieve   F10=Copy line
    F12=Cancel            F13=Services     F24=More keys
  2. Press Enter.
Note: Running this statement causes several objects to be created and takes several seconds.

After you have successfully created a schema, you can create tables, views, and indexes in it. Tables, views, and indexes can also be created in libraries instead of schemas.