← All tables and views

AdventureWorks OLTP table

Production.BillOfMaterials

Items required to make bicycles and bicycle subassemblies. It identifies the heirarchical relationship between a parent product and its components.

2,679rows

9 columns

Schema from the provider contract
ColumnTypeNullableKeyReferences
BillOfMaterialsIDINTEGERnoPK—
ProductAssemblyIDINTEGERyes—Production.Product.ProductID
ComponentIDINTEGERno—Production.Product.ProductID
StartDateTEXTno——
EndDateTEXTyes——
UnitMeasureCodeTEXTno—Production.UnitMeasure.UnitMeasureCode
BOMLevelINTEGERno——
PerAssemblyQtyNUMERICno——
ModifiedDateTEXTno——

Keys and unique indexes

Physical SQLite metadata

Primary key is declared above.

Additional unique keys

Production_BillOfMaterials_AK_BillOfMaterials_ProductAssemblyID_ComponentID_StartDateProductAssemblyID + ComponentID + StartDate
1 unique index inspected
Production_BillOfMaterials_AK_BillOfMaterials_ProductAssemblyID_ComponentID_StartDateProductAssemblyID + ComponentID + StartDateCREATE UNIQUE INDEX "Production_BillOfMaterials_AK_BillOfMaterials_ProductAssemblyID_ComponentID_StartDate" ON "Production.BillOfMaterials" ("ProductAssemblyID", "ComponentID", "StartDate")

Data preview

Sample records

2,679 rows available
BillOfMaterialsIDProductAssemblyIDComponentIDStartDateEndDateUnitMeasureCodeBOMLevel
180712021-03-03 00:00:00.000NULLEA 2
27829952021-03-03 00:00:00.000NULLEA 1
3NULL9892021-03-03 00:00:00.000NULLEA 0
4NULL7852021-03-03 00:00:00.000NULLEA 0
5NULL7752021-03-03 00:00:00.000NULLEA 0
69503222021-03-03 00:00:00.000NULLEA 2
79849492021-03-03 00:00:00.000NULLEA 1
87759512021-03-03 00:00:00.000NULLEA 1

Interactive explorer

Explore Production.BillOfMaterials

Powered by DataTug