User Tools

Site Tools


database:db2:create-database

Create a new DB2 database

Open DB2 Command line processor:

CREATE DATABASE PMJ AUTOMATIC STORAGE YES
DB20000I  The CREATE DATABASE command completed successfully.

Next, activate the database:

ACTIVATE DATABASE PMJ

DB20000I  The ACTIVATE DATABASE command completed successfully.

Connect to the database using IBM Data Studio:

database/db2/create-database.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1