-
-
Save carinavockell/ca780b5e28e4b89c97fa91e8cbeadc79 to your computer and use it in GitHub Desktop.
The example below passes each value from Production.Product into the MSFTF and returns all product values having associated records returned from the function call.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
p.ProductID, | |
p.Name, | |
x.TotalSales | |
FROM Production.Product p | |
CROSS APPLY Sales.GetSalesByProduct (p.ProductID) AS x; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment