fn_GetOrdersForCustomer

Parameters

Parameter name Ordinal Native type Length Precision Scale Direction Is result-set
@customerID 1 nchar 5 0 0 Input

Model elements mapped on this table valued function

Model Element Element type
GetOrdersForCustomer Table Valued Function
GetOrdersForCustomer2 Table Valued Function
GetOrdersForCustomerTC Table Valued Function

Result set

Fields

Field name Ordinal Native type Length Precision Scale Is Nullable
OrderID 1 int 0 10 0
CustomerID 2 nchar 5 0 0 Yes
EmployeeID 3 int 0 10 0 Yes
OrderDate 4 datetime 0 0 0 Yes
RequiredDate 5 datetime 0 0 0 Yes
ShippedDate 6 datetime 0 0 0 Yes
ShipVia 7 int 0 10 0 Yes
Freight 8 money 0 19 4 Yes
ShipName 9 nvarchar 40 0 0 Yes
ShipAddress 10 nvarchar 60 0 0 Yes
ShipCity 11 nvarchar 15 0 0 Yes
ShipRegion 12 nvarchar 15 0 0 Yes
ShipPostalCode 13 nvarchar 10 0 0 Yes
ShipCountry 14 nvarchar 15 0 0 Yes
Model elements mapped on this resultset
Model Element Element type
TestGroup.Order Entity
TvGetOrdersForCustomer Typed View
TvTcgetOrdersForCustomer Typed View