If you haven't done so already, you should create a database device to
hold your user databases.  Do not store user databases on the master
device, which is dedicated for system databases.

Please consult the Sybase documentation for help on using isql or Sybase 
Central to create database devices.

The "instdept" script provided will install the department demo database on 
the default device, which you must set.  The script will also add the login "ibmdemo"
with password "ibmdemo", which has "ALL" granted privileges to the demo
database.

The deptempl.bat will run isql passing the above script as input.  It will
use the sa login so you have to enter its password.  (By default, it is NULL, so
hit enter when prompted.)  

Here are the steps:

1. Open a command prompt
2. From where your deptempl.bat and instdept scripts are located, run:
   
   isql -Usa -S<server> -iinstdept
   
   where <server> is the hostname of your server
3. Enter the sa password.

Optional:

To enforce the foreign key relationships, start Sybase Central, select the Foreign
Keys folder for Building, Dept, and Employee user tables of demo, and select Add
Foreign Keys:

For Building's cityId, reference City's cityId.
For Dept's buildingId, reference Building's buildingId.
For Employee's worksIn, reference Dept's deptId.
