You are on page 1of 1

AdventureWorks Data Warehouse 2005

FactSales SalesOrderNumber SalesOrderLineNumber PK DimSalesReason PK AdventureWorksDWBuildVersion SalesReasonAlternateKey SalesReasonName SalesReasonType SalesReasonKey FactInternetSalesReason PK,FK2 PK,FK2 PK,FK1 SalesOrderNumber SalesOrderLineNumber SalesReasonKey FK2,I5 FK3,I4 FK4,I3 FK5,I7 FK6 FK1,I2 FK8 FK9 FK7 ProductKey OrderDateKey DueDateKey ShipDateKey ResellerKey CustomerKey EmployeeKey CurrencyKey SalesTerritoryKey RevisionNumber OrderQuantity UnitPrice ExtendedAmount UnitPriceDiscountPct DiscountAmount ProductStandardCost TotalProductCost SalesAmount TaxAmt Freight CarrierTrackingNumber CustomerPONumber SalesChannel PromotionKey FK1,I1 U1 DimReseller ResellerKey GeographyKey ResellerAlternateKey Phone BusinessType ResellerName NumberEmployees OrderFrequency OrderMonth FirstOrderYear LastOrderYear ProductLine AddressLine1 AddressLine2 AnnualSales BankName MinPaymentType MinPaymentAmount AnnualRevenue YearOpened

DBVersion VersionDate

DimCustomer PK FK1,I1 U1 CustomerKey GeographyKey CustomerAlternateKey Salutation FirstName MiddleName LastName NameStyle BirthDate MaritalStatus Suffix Gender EmailAddress YearlyIncome TotalChildren NumberChildrenAtHome Education Occupation HouseOwnerFlag NumberCarsOwned AddressLine1 AddressLine2 Phone DateFirstPurchase CommuteDistance

DimPromotion PK U1 PromotionKey PromotionAlternateKey PromotionName DiscountPct PromotionType PromotionCategory StartDate EndDate MinQty MaxQty

DimCurrency PK U1 CurrencyKey CurrencyAlternateKey CurrencyName

FK10

DimGeography PK GeographyKey City StateProvinceCode StateProvinceName CountryRegionCode CountryRegionName PostalCode

DimAccount PK FK1 U1 AccountKey FactCurrencyRate ParentAccountKey AccountCodeAlternateKey ParentAccountCodeAlternateKey AccountDescription AccountType Operator CustomMembers ValueType CustomMemberOptions DimProduct FK1 FK2 CurrencyKey TimeKey AverageRate EndOfDayRate PK U1 FK1,I1 ProductKey ProductAlternateKey ProductSubCategoryKey WeightUnitMeasureCode SizeUnitMeasureCode ProductName StandardCost FinishedGoodsFlag Color SafetyStockLevel ReorderPoint ListPrice Size SizeRange Weight DaysToManufacture ProductLine DealerPrice Class Style ModelName LargePhoto EnglishDescription GermanDescription ChineseDescription ArabicDescription ThaiDescription SCDStartDate SCDEndDate SCDStatus

DimEmployee PK FK1,I1 EmployeeKey ParentEmployeeKey EmployeeNationalIDAlternateKey ParentEmployeeNationalIDAlternateKey SalesTerritoryKey FirstName LastName MiddleName NameStyle Title HireDate BirthDate LoginID EmailAddress Phone MaritalStatus EmergencyContactName EmergencyContactPhone SalariedFlag Gender PayFrequency BaseRate VacationHours SickLeaveHours CurrentFlag SalesPersonFlag DepartmentName SCDStartDate SCDEndDate SCDStatus

FK2,I2

DimSalesTerritory PK U1 SalesTerritoryKey SalesTerritoryAlternateKey SalesTerritoryRegion SalesTerritoryCountry SalesTerritoryGroup GeographyKey

DimDepartmentGroup PK FK1 DepartmentGroupKey ParentDepartmentGroupKey DepartmentGroupName FactFinance DimOrganization FK5 FK3 FK2 FK4 FK1 TimeKey OrganizationKey DepartmentGroupKey ScenarioKey AccountKey Amount U1 PK FK1 OrganizationKey ParentOrganizationKey PercentageOfOwnership OrganizationName ParentOrganizationName CurrencyKey PK U1 DimScenario PK ScenarioKey ScenarioName

FK1

DimTime TimeKey FullDateAlternateKey DayNumberOfWeek DayNameOfWeek DayNumberOfMonth DayNumberOfYear WeekNumberOfYear MonthName MonthNumberOfYear CalendarQuarter CalendarYear CalendarSemester FiscalQuarter FiscalYear FiscalSemester PK U1 FK1 DimProductSubCategory ProductSubCategoryKey ProductSubCategoryAlternateKey ProductSubCategoryName ProductCategoryKey PK U1 DimProductCategory ProductCategoryKey ProductCategoryAlternateKey ProductCategoryName

FactSalesQuota

FK1,I1 FK2,I2

EmployeeKey TimeKey CalendarYear CalendarQuarter SalesAmountQuota

You might also like