The first step in developing your database is to create the objects that hold your data. This category covers both SQL and file-based methods for creating tables, views, and indexes (with SQL) as well as physical and logical files (with file-based methods).
The first step in developing any DB2 Universal Database™ database is to create the database objects that hold the actual data. For SQL-based databases, you create tables, views, and indexes; for system file databases, you create physical or logical files.
You can create objects using iSeries™ Navigator, SQL, or the traditional file interface. The following table shows the available options for each task. Click the appropriate “X” for more information about performing the task.
The iSeries Navigator tasks are documented in the Online help. For more information about accessing iSeries Navigator objects and using Online help, see iSeries Navigator database tasks.
Task | iSeries Navigator | SQL | Traditional file interface |
---|---|---|---|
Create a map of database object relationships | X | ||
Create a package | X | X | X |
Create a schema (library) | X | X | |
Create a stored procedure | X | X | |
Create a table (file) | X | X | X |
Create a user-defined function | X | X | |
Create a user-defined type | X | X | |
Create a view or logical file | X | X | X |
Create an alias | X | X | X |
Create an index or access path | X | X | X |
Create an object using Run SQL Scripts | X | ||
Generate SQL for database objects | X | ||
Create a sequence | X | X |