Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Msg 102, Level 15, State 1, Line 1 Incorrect syntax near ','.

$
0
0
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

Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>