Professional Documents
Culture Documents
Sales
Rev 10.00.0009 PK,FK1 SalesPersonQuotaHistory PK,FK1 PK BusinessEntityID QuotaDate SalesQuota rowguid ModifiedDate U1 FK2 SalesPerson BusinessEntityID TerritoryID SalesQuota Bonus CommissionPct SalesYTD SalesLastYear rowguid ModifiedDate SalesOrderHeader PK,FK5 PK FK7 BusinessEntityID SalesOrderID ShipMethodID RevisionNumber OrderDate DueDate ShipDate Status OnlineOrderFlag SalesOrderNumber PurchaseOrderNumber AccountNumber TerritoryID BillToAddressID ShipToAddressID CreditCardID CreditCardApprovalCode CurrencyRateID SubTotal TaxAmt Freight TotalDue Comment rowguid ModifiedDate PK FK1,U2 U2 PK U1 FK1,U1 FK2,U1 CurrencyRate CurrencyRateID CurrencyRateDate FromCurrencyCode ToCurrencyCode AverageRate EndOfDayRate ModifiedDate PK U1 Currency CurrencyCode SpecialOffer Name ModifiedDate PK SpecialOfferID Description DiscountPct Type Category StartDate EndDate MinQty MaxQty rowguid ModifiedDate
Best Print Results if: 11X17 paper Samples and Sample Databases at Landscape http://CodePlex.com/SqlServerSamples Fit to 1 sheet
U1
dbo
ErrorLog PK ErrorLogID ErrorTime UserName ErrorNumber ErrorSeverity ErrorState ErrorProcedure ErrorLine ErrorMessage PK DatabaseLog DatabaseLogID PostTime DatabaseUser Event Schema Object TSQL XmlEvent
SalesReason PK SalesOrderHeaderSalesReason PK,FK1 PK,FK1 PK,FK2 BusinessEntityID SalesOrderID SalesReasonID ModifiedDate SalesOrderDetail PK,FK1 PK,FK1 PK BusinessEntityID SalesOrderID SalesOrderDetailID CarrierTrackingNumber OrderQty ProductID SpecialOfferID UnitPrice UnitPriceDiscount LineTotal rowguid ModifiedDate Name ReasonType ModifiedDate U1 SalesReasonID
SalesTerritory PK U1 TerritoryID Name CountryRegionCode Group SalesYTD SalesLastYear CostYTD CostLastYear rowguid ModifiedDate
U2
U1
Customer Store PK PK,FK1,FK2 BusinessEntityID CustomerID PersonID StoreID TerritoryID AccountNumber rowguid ModifiedDate FK2 FK3 FK1 U1 U2
U2
HumanResources
U1 Department PK EmployeeDepartmentHistory PK,FK2 PK,FK1 PK PK,FK3 BusinessEntityID DepartmentID StartDate ShiftID EndDate ModifiedDate U1 Name GroupName ModifiedDate DepartmentID
U1 CreditCard PersonCreditCard PK,FK2 PK,FK1 BusinessEntityID CreditCardID ModifiedDate PK CreditCardID CardType CardNumber ExpMonth ExpYear ModifiedDate
FK2 FK2
U1
U1
FK1
U1
Person
Password Employee PK,FK1 BusinessEntityID NationalIDNumber LoginID ShiftID JobTitle BirthDate MaritalStatus Gender HireDate SalariedFlag VacationHours SickLeaveHours CurrentFlag rowguid ModifiedDate PasswordHash PasswordSalt PK,FK1 BusinessEntityID PK U2 U2 U2 FK1,U2 U2 Person PK,FK1 BusinessEntityID PersonType NameStyle Title FirstName MiddleName LastName Suffix EmailPromotion AdditionalContactInfo Demographics rowguid ModifiedDate U1 EmallAddress PK,FK1 PK BusinessEntityID EmailAddressID EmailAddress PK PersonPhone PK,FK1 PK PK,FK2 BusinessEntityID PhoneNumber PhoneNumberTypeID U3 FK1,U3 U1 FK2 U2 StateProvince StateProvinceID StateProvinceCode CountryRegionCode IsOnlyStateProvinceFlag Name TerritoryID rowguid ModifiedDate Address AddressID AddressLine1 AddressLine2 City StateProvinceID PostalCode SpatialLocation rowguid ModifiedDate
Production
ProductModelIllustration PK,FK2 PK,FK1 ProductModelID IllustrationID ModifiedDate Illustration PK IllustrationID Diagram ModifiedDate ProductListPriceHistory PK,FK1 PK ProductReview PK FK1 ProductReviewID ProductID ReviewerName ReviewDate EmailAddress Rating Comments ModifiedDate PK U1 U2 EndDate ListPrice ModifiedDate ProductID StartDate PK ProductPhoto ProductPhotoID ThumbNailPhoto ThumbnailPhotoFileName LargePhoto LargePhotoFileName ModifiedDate
U2 U1
ProductProductPhoto PK,FK1 PK,FK2 ProductID ProductPhotoID Primary ModifiedDate ProductModel PK U1 ProductModelID Name CatalogDescription Instructions rowguid ModifiedDate ProductModelProductDescriptionCulture PK,FK3 PK,FK2 PK,FK1 ProductModelID ProductDescriptionID CultureID ModifiedDate
Product ProductID Name ProductNumber MakeFlag FinishedGoodsFlag Color SafetyStockLevel ReorderPoint StandardCost ListPrice Size SizeUnitMeasureCode WeightUnitMeasureCode Weight DaysToManufacture ProductLine Class Style ProductSubcategoryID ProductModelID SellStartDate SellEndDate DiscontinuedDate rowguid ModifiedDate
U2 ProductSubcategory PK FK1 U1 U2 ProductSubcategoryID ProductCategoryID Name rowguid ModifiedDate PK U1 U2 ProductCategory ProductCategoryID Name rowguid ModifiedDate
U1 EmployeePayHistory PK,FK1 PK BusinessEntityID RateChangeDate BusinessEntityContact Rate PayFrequency ModifiedDate PK,FK3 PK,FK1 FK2 BusinessEntityID PersonID ContactTypeID ModifiedDate
BillOfMaterials PK BillOfMaterialsID
FK1,U1 ProductAssemblyID FK2,U1 ComponentID U1 StartDate EndDate FK3 UnitMeasureCode BOMLevel PerAssemblyQty ModifiedDate
FK3 FK4
U1 ProductDocument ProductCostHistory PK,FK1 PK ProductID StartDate EndDate StandardCost ModifiedDate PK,FK2 PK,FK1 ProductID DocumentNode ModifiedDate
TransactionHistory ContactType PK U1 BusinessEntity PK BusinessEntityID rowguid ModifiedDate ContactTypeID Name ModifiedDate PK U1 U2 AddressType AddressTypeID Name rowguid ModifiedDate PK BusinessEntityAddress PK,FK3 PK,FK2 FK1 AddressID BusinessEntityID AddressTypeID ModifiedDate U1 CountryRegion CountryRegionCode Name ModifiedDate PK FK1 TransactionID ProductID ReferenceOrderID TransactionDate TransactionType Quantity ActualCost ModifiedDate ReferenceOrderLineID
FK2 FK1
U3
Document ProductInventory PK,FK2 PK,FK1 ProductID LocationID Shelf Bin Quantity rowguid ModifiedDate WorkOrderRouting PK,FK2 PK PK FK1 WorkOrderID ProductID OperationSequence LocationID ScheduledStartDate ScheduledEndDate ActualStartDate ActualEndDate ActualResourceHrs PlannedCost ActualCost ModifiedDate PK DocumentNode DocumentLevel Title Owner FolderFlag FileName FileExtension Revision ChangeNumber Status DocumentSummary Document rowguid ModifiedDate TransactionHistoryArchive PK TransactionID ProductID ReferenceOrderID TransactionDate TransactionType Quantity ActualCost ModifiedDate ReferenceOrderLineID
Schemas
Sales
FK1 U1 U1
Vendor BusinessEntityID AccountNumber Name CreditRating PreferredVendorStatus ActiveFlag PurchasingWebServiceURL ModifiedDate PK U1 ShipMethod PK U1 ShipMethodID Name ShipBase ShipRate rowguid ModifiedDate
U2
ProductVendor PK,FK3 PK,FK1 BusinessEntityID ProductID AverageLeadTime StandardPrice LastReceiptCost LastReceiptDate MinOrderQty MaxOrderQty OnOrderQty UnitMeasureCode ModifiedDate
WorkOrder PK FK1 WorkOrderID ProductID OrderQty StockedQty ScrappedQty StartDate EndDate DueDate ScrapReasonID ModifiedDate
FK1
FK2