When creating your SQL Server DB, note this:

After putting in the fields listed on pp 401-2, you need an "Inventory" field of type "int" as well.

Apologies for the omission of this field from the book
