procedure to take recent viewed products?
Microsoft Net Framework

USE [saudiphone]
GO
/****** Object:  StoredProcedure [dbo].[Product_LookUp_RecentViewedProduct]    Script Date: 6/28/2018 2:26:01 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER proc [dbo].[Product_LookUp_RecentViewedProduct]

as
begin
SELECT TOP (10) rvp.ProductID ,p.Photo,p.ProductTitle,p.CategoryID,p.MinPrice  FROM RecentViewedProducts rvp
Join Product p on rvp.ProductID = p.ProductID


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
03
07

New Messages

George Floyd
  • Edit Post Edit This Post within a Hour
  • Hide Chat Hide This Post
  • Delete Chat If inappropriate Post By Mistake
  • Report Inappropriate Chat
  • 4.5kb
  • Hi James! Please remember to buy the food for tomorrow! I’m gonna be handling the gifts and Jake’s gonna get the drinks
  • Hi James! Please remember to buy the food for tomorrow! I’m gonna be handling the gifts and Jake’s gonna get the drinks
  • Hi James! Please remember to buy the food for tomorrow! I’m gonna be handling the gifts and Jake’s gonna get the drinks