You don't need to use return there:
Code:CREATE Procedure spCreateLogEntry(@logId integer OUTPUT) AS INSERT INTO Log VALUES(GETDATE(),'blah') SET @logIdId = @@IDENTITY Go GRANT EXEC ON spCreateLogEntry TO PUBLIC Go
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |