HOW TO CREATE DB2 TABLES

Reviews
Shared by: country
Stats
views:
36
rating:
not rated
reviews:
0
posted:
11/13/2008
language:
pages:
0
~~draft~~ September 1, 1989 HOW TO CREATE DB2 TABLES Procedure to create DB2 tables in your database: 1. Obtain authorization to use a database. Database = __________________. (This is done by written request to Technical Support). The following steps are executed in SPUFI (option DB2.1.1). You also need to create a member in your PDS (ADM.TR16101.TCNTL0XX) to execute the following. 2. Create the tablespace. Input: ADM.TR16101.TWEBSSQL (tablespace name)  Your database  Your database  Leave as is  Leave as is  Leave as is  Use ANY  Leave as is  Leave as is CREATE TABLESPACE tablespace name IN TRT171XX USING STOGROUP TRT171XX PRIQTY 0000016 SECQTY 000004 ERASE NO LOCKSIZE ANY BUFFERPOOL BPO CLOSE NO; 3. Define the table. Input: ADM.TR16101.TWEBSSQL (tablespace name) CREATE TABLE table name ( column name picture NOT NULL WITH DEFAULT, column name picture NOT NULL WITH DEFAULT, column name picture NOT NULL WITH DEFAULT, ... ... ... column name picture NOT NULL WITH DEFAULT ) IN TRT171XX.tablespace name ;  Your database 4. Create the index. Input: ADM.TR16101.TWEBISQL (indexspace name) CREATE UNIQUE INDEX indexspace name ON table name ( column name ASC ) USING STOGROUP TRT171XX  Your database PRIQTY 0000016  Leave as is SECQTY 000004  Leave as is ERASE NO  Leave as is SUBPAGES 16  Leave as is BUFFERPOOL BP0  Leave as is CLOSE NO ;  Leave as is

Related docs
DB2 Questions
Views: 61  |  Downloads: 2
DB2 Questions
Views: 36  |  Downloads: 6
DB2 Tutorial
Views: 94  |  Downloads: 1
Db2 9 announcement
Views: 0  |  Downloads: 0
DB2 Tutorial
Views: 159  |  Downloads: 10
DB2 Tutorial
Views: 106  |  Downloads: 29
DB2 - a generall overview
Views: 2  |  Downloads: 0
DB2 Symmetrix
Views: 11  |  Downloads: 4
How to Create a
Views: 183  |  Downloads: 5
Performance Tuning for DB2 Database Servers
Views: 116  |  Downloads: 34
premium docs
Other docs by country
Employee Satisfaction Survey
Views: 552  |  Downloads: 44
CorpDocs- List of Corporations Shareholders
Views: 238  |  Downloads: 2
Cover Letter For Enclosed Contract
Views: 1357  |  Downloads: 16
Gotocom Inc Ammendments and Bylaws
Views: 280  |  Downloads: 0
Real Estate Finance Outline
Views: 3556  |  Downloads: 363
Halliburton Co Ammendments and Bylaws
Views: 138  |  Downloads: 0
Interview Questions to Ask Job Candidates3
Views: 1057  |  Downloads: 116
Batmobile Rear
Views: 538  |  Downloads: 5
Transmittal Letter to IRS Enclosing Form SS-4
Views: 185  |  Downloads: 0