Quantcast
Channel: Getting started with SQL Server forum
Viewing all articles
Browse latest Browse all 9243

Incorrect syntax near the keyword 'Values'

$
0
0

Hi all I was wondering if you could help I keep getting this error when I try to build this stored procedure in sql 2008

CREATE PROCEDURE dbo.TutorialAddHeadline
	@title varchar(100), @content varchar(MAX), @publisher varchar(50), @linkurl varchar(255)
AS
	BEGIN
	DECLARE @hash binary(16);
	SET @hash = dbo.TutorialHash(@title, @content);

VALUES(@publisher, @title, @content, @linkurl, @hash);
END

thanks


Viewing all articles
Browse latest Browse all 9243

Trending Articles



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