Scalar function returning the list price for a given product on a particular order date.
Creation Date | 27/10/2017 14:33 |
Encrypted | |
Ansi Nulls |
Parameter | Direction | Description | Data Type | Size |
---|---|---|---|---|
@ProductID | In | Input parameter for the scalar function ufnGetProductListPrice. Enter a valid ProductID from the Production.Product table. | Integer | 4 |
@OrderDate | In | Input parameter for the scalar function ufnGetProductListPrice. Enter a valid order date. | DBTimeStamp | 4 |
@RETURN_VALUE | Return Value | Currency | 8 |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
dbo.Flag | User Defined Data Type | 2 | ||
dbo.Name | User Defined Data Type | 2 | ||
Production.Product | Table | Products sold or used in the manfacturing of sold products. | 1 | |
Production.ProductCategory | Table | High-level product categorization. | 3 | |
Production.ProductListPriceHistory | Table | Changes in the list price of a product over time. | 1 | |
Production.ProductModel | Table | Product model classification. | 2 | |
Production.ProductSubcategory | Table | Product subcategories. See ProductCategory table. | 2 | |
Production.UnitMeasure | Table | Unit of measure lookup table. | 2 |
|