rem
rem CSC 365. Lab 5. Test script for BAKERY dataset
rem 
rem Alex Dekhtyar (dekhtyar@csc.calpoly.edu)
rem



rem Create tables

host echo '***********************************************'
host echo ' Creating tables  '
host echo '***********************************************'

set echo on

start BAKERY-setup.sql

set echo off

rem Populate tables

host echo '***********************************************'
host echo ' Populating tables  '
host echo '***********************************************'

set termout off

start BAKERY-insert.sql

set termout on

spool lab5-BAKERY-output.txt


rem RUN LAB 5 assignment

host echo '***********************************************'
host echo ' Running Queries  '
host echo '***********************************************'


set echo on

start BAKERY-queries.sql

set echo off

rem drop tables

host echo '***********************************************'
host echo ' Dropping tables  '
host echo '***********************************************'


set echo on
start BAKERY-cleanup.sql


set echo off

host echo '***********************************************'
host echo ' That is All, folks!  '
host echo '***********************************************'

spool off
