Create/Use the ESP Database
/* **********************************************
* Simple Table Creation - Columns and Primary Keys
*
* Emergency Service & Product
* Specification Document 1
* Version 1.0.0
*
* Author: Dan Gilleland
********************************************** */
-- Select the CREATE DATABASE stement below to create the demo database.
-- CREATE DATABASE [ESP-A01]
USE [ESP-A01] -- this is a statement that tells us to switch to a particular database
-- Notice in the database name above, it is "wrapped" in square brackets because
-- the name had a hypen in it.
-- For all our other objects (tables, columns, etc), we won't use hypens or spaces, so
-- the use of square brackets are optional.
GO -- this statement helps to "separate" various DDL statements in our script
-- so that they are executed as "blocks" of code.