You are on page 1of 1

Data Masker for SQL Server

Northwind Sample Database - Entity Relationship Diagram


CUSTOMERDEMOGRAPHICS
customertypeid
customerdesc

nchar(10)
ntext

CUSTOMERCUSTOMERDEMO
customerid
customertypeid

nchar(5)
nchar(10)

customerid
companyname
contactname
contacttitle
address
city
region
postalcode
country
phone
fax

SHIPPERS
shipperid
companyname
phone

CUSTOMERS

int
nvarchar(40)
nvarchar(24)

nchar(5)
nvarchar(40)
nvarchar(30)
nvarchar(30)
nvarchar(60)
nvarchar(15)
nvarchar(15)
nvarchar(10)
nvarchar(15)
nvarchar(24)
nvarchar(24)

EMPLOYEES
employeeid
lastname
firstname
title
titleofcourtesy
birthdate
hiredate
address
city
region
postalcode
country

ORDERS
ORDER DETAILS
orderid
productid
unitprice
quantity
discount

int
int
money
smallint
real

orderid
customerid
employeeid
orderdate
requireddate
shipdate
shipvia
freight
shipname
shipaddress
shipcity
shipregion

int
nchar(5)
int
datetime
datetime
datetime
int
money
nvarchar(40)
nvarchar(60)
nvarchar(15)
nvarchar(15)

int
nvarchar(20)
nvarchar(10)
nvarchar(30)
nvarchar(25)
datetime
datetime
nvarchar(60)
nvarchar(15)
nvarchar(15)
nvarchar((10)
nvarchar(15)

EMPLOYEETERITORIES
PRODUCTS
productid
productname
supplierid
categoryid
quantityperunit
unitprice
unitsinstock
unitsonorder
reorderlevel
discontinued

SUPLIERS
supplierid
companyname
contactname
conatacttitle
address
city
region
postalcode
country
phone
fax
homepage

employeeid
territoryid

int
nvarchar(40)
int
int
nvarchar(20)
money
smallint
smallint
smallint
bit

int
nvarchar(40)
nvarchar(30)
nvarchar(30)
nvarchar(60)
nvarchar(15)
nvarchar(15)
nvarchar(10)
nvarchar(15)
nvarchar(24)
nvarchar(24)
ntext

Copyright 2008 Net 2000 Ltd.


NorthwindERDiagram.doc
v002

int
nvarchar(20)

TERITORIES
territoryid
territorydescription
regionid

nvarchar(20)
nchar(50)
int

CATEGORIES
categoryid
categoryname
descripition
picture

int
nvarchar(15)
ntext
image

REGION
regionid
regiondescription

int
nchar(50)

You might also like