This question already has an answer here:
- GO After every T-SQL statement 1 answer
Could anyone shed some light on this error for me? To a beginner of course. This will probably be no more than a simple fix for someone else. I'm trying to read in the Product to be used in the where clause.
alter proc Proc1 @ProductID int as go select ProductName from Products where ProductID = @ProductID