← All tables and views

AdventureWorks OLTP table

Purchasing.PurchaseOrderDetail

Individual products associated with a specific purchase order. See PurchaseOrderHeader.

8,845rows

11 columns

Schema from the provider contract
ColumnTypeNullableKeyReferences
PurchaseOrderIDINTEGERnoPK 1/2Purchasing.PurchaseOrderHeader.PurchaseOrderID
PurchaseOrderDetailIDINTEGERnoPK 2/2—
DueDateTEXTno——
OrderQtyINTEGERno——
ProductIDINTEGERno—Production.Product.ProductID
UnitPriceDECIMAL_TEXT(19,4)Exact decimal · precision 19, scale 4 · text storageno——
LineTotalDECIMAL_TEXT(38,4)Exact decimal · precision 38, scale 4 · text storageyes——
ReceivedQtyDECIMAL_TEXT(8,2)Exact decimal · precision 8, scale 2 · text storageno——
RejectedQtyDECIMAL_TEXT(8,2)Exact decimal · precision 8, scale 2 · text storageno——
StockedQtyDECIMAL_TEXT(38,2)Exact decimal · precision 38, scale 2 · text storageyes——
ModifiedDateTEXTno——

Keys and unique indexes

Physical SQLite metadata

Primary key is declared above.

No additional full-column unique key was found.

1 unique index inspected
sqlite_autoindex_Purchasing.PurchaseOrderDetail_1PurchaseOrderID + PurchaseOrderDetailID

Data preview

Sample records

8,845 rows available
PurchaseOrderIDPurchaseOrderDetailIDDueDateOrderQtyProductIDUnitPriceLineTotal
112022-04-29 00:00:00.0004150.2600201.0400
222022-04-29 00:00:00.000335945.1200135.3600
232022-04-29 00:00:00.000336045.5805136.7415
342022-04-29 00:00:00.00055053016.08608847.3000
452022-04-29 00:00:00.0003457.0255171.0765
562022-05-13 00:00:00.00055051237.086020397.3000
672022-05-13 00:00:00.00055051326.596514628.0750
782022-05-13 00:00:00.00055031727.058514882.1750

Interactive explorer

Explore Purchasing.PurchaseOrderDetail

Powered by DataTug