SQL files for the Dimensional Database Model
You can implement a dimensional database for data-warehousing applications by running scripts that create the sales_demo database.
The sales_demo database is based on the stores_demo schema and data.
To create the sales_demo database:
- Create a stores_demo database with the following command:
dbaccessdemo -log
- Make sure that the createdw.sql and loaddw.sql files are in the same directory as the files with extension .unl that the loaddw.sql uses.
- Run the createdw.sql file.
- Run the loaddw.sql file.