This shows you the differences between two versions of the page.
— |
database:db2:create-database [2021/02/18 13:09] (current) odefta created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Create a new DB2 database ====== | ||
+ | |||
+ | Open DB2 Command line processor: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | CREATE DATABASE PMJ AUTOMATIC STORAGE YES | ||
+ | |||
+ | DB20000I | ||
+ | |||
+ | Next, activate the database: | ||
+ | |||
+ | ACTIVATE DATABASE PMJ | ||
+ | | ||
+ | DB20000I | ||
+ | |||
+ | Connect to the database using IBM Data Studio: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | |||