|
Grifter
Posting Yak Master
214 Posts |
Posted - 03/01/2013 : 10:05:40
|
trying to build up a procedure and testing it everytime I add a block of code. Currently just have a simple check of a value and that's it. So I create the procedure, execute so it is created and then rename it to 'alter procedure' so it doesn't fail trying to keep creating it, then try running it with EXEC dbo.myProc('Value')
And keep getting:
Msg 102, Level 15, State 1, Line 1 Incorrect syntax near 'Value'.
The value passed in is varchar(255)
I thought it was because I never had execute permissions on it but this still made no difference. tried refreshing as well.
This is strange I have granted permissions. Am I running it the correct way? I hope so as EXEC was always what I used to use on SQL Server 2008, I am now working on 2005, Progress right :)
Grifter
|
Edited by - Grifter on 03/01/2013 10:08:03
|
|