dbaccessdemo command: Create demonstration databases

Use the dbaccessdemo or dbaccessdemo_ud command to create the demonstration databases.

Syntax for stores_demo

dbaccessdemo [ -log ] [ dbname ] [ -dbspacedbspace_name ] [ -nots ]

Syntax for superstores_demo

dbaccessdemo_ud [ -log ] [ dbname ] [ -dbspacedbspace_name ]
-log
Requests transaction logging for the demonstration database.
dbname
Substitutes for the default database name. Must follow Identifier naming guidelines.
-dbspace
Requests a particular dbspace location for the demonstration database.
dbspace_name
Houses the demonstration database. If you do not specify a dbspace name, by default, the data for the database is put in the root dbspace. To create a dbspace, use the onspaces utility.
-nots
Prevents the creation of the time series tables in the stores_demo database.

Examples

The following command creates a database that is named stores_demo:
dbaccessdemo
The following example creates an instance of the stores_demo database named demo_db:
dbaccessdemo demo_db
The following command initializes the stores_demo database and also initiates log transactions:
dbaccessdemo -log
The following command creates an instance of the stores_demo database named demo_db in dbspace_2:
dbaccessdemo demo_db -dbspace dbspace_2
The following command creates a database that is named superstores_demo:
dbaccessdemo_ud