USE [redhotkitties2005db]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[proc_carttotals]
@appuserid int
AS
CREATE TABLE #TEMP
(quantity INT, tblProductsFK INT, tblPeopleFK INT);
go
select ( rhkProd_tblCart.quantity, rhkProd_tblCart.tblProductsFK, rhkProd_tblCart.tblPeopleFK )
into#TEMP
from rhkProd_tblCart
where rhkProd_tblCart.tblPeopleFK = @appuserid;
go
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[proc_carttotals]
@appuserid int
AS
CREATE TABLE #TEMP
(quantity INT, tblProductsFK INT, tblPeopleFK INT);
go
select ( rhkProd_tblCart.quantity, rhkProd_tblCart.tblProductsFK, rhkProd_tblCart.tblPeopleFK )
into#TEMP
from rhkProd_tblCart
where rhkProd_tblCart.tblPeopleFK = @appuserid;
go