Golf_GetPlayers is a stored procedure. I ended up just using a string select on the table instead. Thank you for the information. Just for my personal knowledge, if I'd made @Players #Players that would have made the original code work?
This SP throws a syntax error on @players declaration. That doesn't appear to be the problem though, as debugging I've determined it's somewhere else in the code... BUT WHERE!??
ALTER procedure [dbo].[Golf_ModifyPlayers]
@paramID int,
@paramPlayerNames varchar(500)
AS
declare @spot int...
I'm trying to have a stored procedure that enters the information for a golf registration. I'd like to dynamically add the players based on how many they registered. So either 2,3 or 4. The code for the SP:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER procedure...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.