USE AdventureWorks;

GO
CREATE PROCEDURE Sales.GetDiscountsForCategory
@Category nvarchar(50)
AS
BEGIN
	SELECT Description, DiscountPct, Type, Category, StartDate, EndDate, MinQty, MaxQty
	FROM Sales.SpecialOffer
	WHERE Category IN (@Category);
END

EXEC Sales.GetDiscountsForCategory 'Reseller'