Home Forums SQL Server 2014 Development - SQL Server 2014 Why does my stored procedure return -1? RE: Why does my stored procedure return -1?
junk.mail291276
SSCrazy
Points: 2503
More actions
March 7, 2018 at 7:42 am
#1982215
Thanks everyone,
Turns out this was causing the return of -1:SET NOCOUNT ONIf I set NOCOUNT to OFF, it returns the number of rows.