Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
radhe
Starting Member
6 Posts |
Posted - 2008-07-11 : 08:38:53
|
Hello friends I have created a stored procedure with wrong syntaxHow to handle that with @@ERROR or RaiseanerrorWhat @@ represents......The wrong procedure is:create procedure sp_myproc( @x int, @y int, @res int output) as Begin set @res = @x + @yKindly help.Regards,Bharath |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-07-11 : 08:50:37
|
drop the BEGIN word.or add an END to the end. E 12°55'05.25"N 56°04'39.16" |
 |
|
|
|
|