Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added ?
Empty file.
174 changes: 174 additions & 0 deletions adventureworks_docs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
DimCurrency DimProduct FactCurrencyRate
DimCustomer DimProductCategory FactInternetSales
DimDate DimProductSubcategory FactInternetSalesReason
DimDepartmentGroup DimPromotion FactResellerSales
DimEmployee DimReseller FactSurveyResponse
DimGeography DimSalesReason
DimOrganization DimSalesTerritory
<TR><TH>&quot;Number of rows in DimCustomer&quot;</TH>
</TR>
<TR><TD>Number of rows in DimCustomer</TD>
</TR>
<TR><TH>count(1)</TH>
</TR>
<TR><TD>18484</TD>
</TR>
<TR><TH>type</TH>
<TH>name</TH>
<TH>tbl_name</TH>
<TH>rootpage</TH>
<TH>sql</TH>
</TR>
<TR><TD>table</TD>
<TD>DimCustomer</TD>
<TD>DimCustomer</TD>
<TD>4</TD>
<TD>CREATE TABLE DimCustomer(
CustomerKey int IDENTITY(1,1) NOT NULL PRIMARY KEY,
GeographyKey int NULL,
CustomerAlternateKey nvarchar(15) NOT NULL,
Title nvarchar(8) NULL,
FirstName nvarchar(50) NULL,
MiddleName nvarchar(50) NULL,
LastName nvarchar(50) NULL,
NameStyle bit NULL,
BirthDate date NULL,
MaritalStatus nchar(1) NULL,
Suffix nvarchar(10) NULL,
Gender nvarchar(1) NULL,
EmailAddress nvarchar(50) NULL,
YearlyIncome money NULL,
TotalChildren tinyint NULL,
NumberChildrenAtHome tinyint NULL,
EnglishEducation nvarchar(40) NULL,
SpanishEducation nvarchar(40) NULL,
FrenchEducation nvarchar(40) NULL,
EnglishOccupation nvarchar(100) NULL,
SpanishOccupation nvarchar(100) NULL,
FrenchOccupation nvarchar(100) NULL,
HouseOwnerFlag nchar(1) NULL,
NumberCarsOwned tinyint NULL,
AddressLine1 nvarchar(120) NULL,
AddressLine2 nvarchar(120) NULL,
Phone nvarchar(20) NULL,
DateFirstPurchase date NULL,
CommuteDistance nvarchar(15) NULL,
FOREIGN KEY (GeographyKey) REFERENCES DimGeography(GeographyKey)
)</TD>
</TR>
<TR><TH>sql</TH>
</TR>
<TR><TD>CREATE TABLE DimCustomer(
CustomerKey int IDENTITY(1,1) NOT NULL PRIMARY KEY,
GeographyKey int NULL,
CustomerAlternateKey nvarchar(15) NOT NULL,
Title nvarchar(8) NULL,
FirstName nvarchar(50) NULL,
MiddleName nvarchar(50) NULL,
LastName nvarchar(50) NULL,
NameStyle bit NULL,
BirthDate date NULL,
MaritalStatus nchar(1) NULL,
Suffix nvarchar(10) NULL,
Gender nvarchar(1) NULL,
EmailAddress nvarchar(50) NULL,
YearlyIncome money NULL,
TotalChildren tinyint NULL,
NumberChildrenAtHome tinyint NULL,
EnglishEducation nvarchar(40) NULL,
SpanishEducation nvarchar(40) NULL,
FrenchEducation nvarchar(40) NULL,
EnglishOccupation nvarchar(100) NULL,
SpanishOccupation nvarchar(100) NULL,
FrenchOccupation nvarchar(100) NULL,
HouseOwnerFlag nchar(1) NULL,
NumberCarsOwned tinyint NULL,
AddressLine1 nvarchar(120) NULL,
AddressLine2 nvarchar(120) NULL,
Phone nvarchar(20) NULL,
DateFirstPurchase date NULL,
CommuteDistance nvarchar(15) NULL,
FOREIGN KEY (GeographyKey) REFERENCES DimGeography(GeographyKey)
)</TD>
</TR>
<TR><TH>sql</TH>
</TR>
<TR><TD>CREATE TABLE DimCurrency(
CurrencyKey int IDENTITY(1,1) NOT NULL PRIMARY KEY,
CurrencyAlternateKey nchar(3) NOT NULL,
CurrencyName nvarchar(50) NOT NULL
)</TD>
</TR>
<TR><TD>CREATE TABLE DimCustomer(
CustomerKey int IDENTITY(1,1) NOT NULL PRIMARY KEY,
GeographyKey int NULL,
CustomerAlternateKey nvarchar(15) NOT NULL,
Title nvarchar(8) NULL,
FirstName nvarchar(50) NULL,
MiddleName nvarchar(50) NULL,
LastName nvarchar(50) NULL,
NameStyle bit NULL,
BirthDate date NULL,
MaritalStatus nchar(1) NULL,
Suffix nvarchar(10) NULL,
Gender nvarchar(1) NULL,
EmailAddress nvarchar(50) NULL,
YearlyIncome money NULL,
TotalChildren tinyint NULL,
NumberChildrenAtHome tinyint NULL,
EnglishEducation nvarchar(40) NULL,
SpanishEducation nvarchar(40) NULL,
FrenchEducation nvarchar(40) NULL,
EnglishOccupation nvarchar(100) NULL,
SpanishOccupation nvarchar(100) NULL,
FrenchOccupation nvarchar(100) NULL,
HouseOwnerFlag nchar(1) NULL,
NumberCarsOwned tinyint NULL,
AddressLine1 nvarchar(120) NULL,
AddressLine2 nvarchar(120) NULL,
Phone nvarchar(20) NULL,
DateFirstPurchase date NULL,
CommuteDistance nvarchar(15) NULL,
FOREIGN KEY (GeographyKey) REFERENCES DimGeography(GeographyKey)
)</TD>
</TR>
<TR><TD>CREATE TABLE DimProduct(
ProductKey int IDENTITY(1,1) PRIMARY KEY,
ProductAlternateKey nvarchar(25) NULL,
ProductSubcategoryKey int NULL,
WeightUnitMeasureCode nchar(3) NULL,
SizeUnitMeasureCode nchar(3) NULL,
EnglishProductName nvarchar(50) NOT NULL,
SpanishProductName nvarchar(50) NOT NULL,
FrenchProductName nvarchar(50) NOT NULL,
StandardCost money NULL,
FinishedGoodsFlag bit NOT NULL,
Color nvarchar(15) NOT NULL,
SafetyStockLevel smallint NULL,
ReorderPoint smallint NULL,
ListPrice money NULL,
Size nvarchar(50) NULL,
SizeRange nvarchar(50) NULL,
Weight float NULL,
DaysToManufacture int NULL,
ProductLine nchar(2) NULL,
DealerPrice money NULL,
Class nchar(2) NULL,
Style nchar(2) NULL,
ModelName nvarchar(50) NULL,
LargePhoto varbinary NULL,
EnglishDescription nvarchar(400) NULL,
FrenchDescription nvarchar(400) NULL,
ChineseDescription nvarchar(400) NULL,
ArabicDescription nvarchar(400) NULL,
HebrewDescription nvarchar(400) NULL,
ThaiDescription nvarchar(400) NULL,
GermanDescription nvarchar(400) NULL,
JapaneseDescription nvarchar(400) NULL,
TurkishDescription nvarchar(400) NULL,
StartDate datetime NULL,
EndDate datetime NULL,
Status nvarchar(7) NULL,
FOREIGN KEY (ProductSubCategoryKey) REFERENCES DimProductSubCategory(ProductSubCategoryKey)
)</TD>
</TR>
Empty file added html
Empty file.