USE [saudiphone]
GO
/****** Object: StoredProcedure [dbo].[Product_LookUp_SubCategoryID] Script Date: 6/25/2018 4:58:31 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[Product_LookUp_SubCategoryID]
@SubCategoryID int
as
begin
SELECT TOP (8) * FROM Product where SubCategoryID=@SubCategoryID order by ProductID desc
end
Share This with your friend by choosing any social account