procedure to take product by catagories?
Microsoft Net Framework

USE [saudiphone]
GO
/****** Object:  StoredProcedure [dbo].[Product_LookUp_CategoryID]    Script Date: 6/28/2018 2:22:10 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER proc [dbo].[Product_LookUp_CategoryID]
@CategoryID int 
as
begin
SELECT TOP (8) * FROM Product where CategoryID=@CategoryID order by ProductID desc
end

Share This with your friend by choosing any social account


Upcoming Articles
You may also read following recent Post
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM