CREATE DATABASE statement
The CREATE DATABASE statement creates a new database.

CREATE DATABASE databaseName | This option specifies the name of the new database. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
OWNER authorizationID | This option specifies the owner of the database. | ||||||||||
STOGROUP | This option specifies the default storage group for the database. If the STOGROUP parameter is not specified, the default Db2 SYSDEFLT storage group is used. STOGROUP parameter values
| ||||||||||
BUFFERPOOL | This option specifies the new default buffer pool for the database for the creation of the table space. If the BUFFERPOOL parameter is not specified, the Db2 default value is used. BUFFERPOOL parameter values
| ||||||||||
CCSID | This option specifies the encoding scheme of the database. CCSID parameter values
| ||||||||||
INDEXBP | This option specifies the default buffer pool for the database for the creation of the index. If the INDEXBP parameter is not specified, the Db2 default value is used. INDEXBP parameter values
|
Related topic