Created
May 29, 2019 04:24
-
-
Save mikependon/7a796cf732d04f02337c299ae3997c45 to your computer and use it in GitHub Desktop.
Stored Procedure (GetCustomerOrders)
This file contains 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
CREATE PROCEDURE [dbo].[sp_get_customer_orders] | |
( | |
@CustomerId INT | |
) | |
AS | |
BEGIN | |
SELECT * | |
FROM [dbo].[Orders] | |
WHERE (CustomerId = @CustomerId) | |
ORDER BY OrderDateUtc ASC; | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment