June 2, 2015 at 9:17 am
Hi All,
I am running a sproc we have developed and I am getting a -6 as a returned value does anyone know what that actually means.
TIA
Doug
June 2, 2015 at 9:33 am
douglas.allison1 (6/2/2015)
Hi All,I am running a sproc we have developed and I am getting a -6 as a returned value does anyone know what that actually means.
TIA
Doug
Since we can't see what you see, have you looked through the procedure to see why -6 is being returned by the procedure?
June 2, 2015 at 9:39 am
Yepp It's a basic insert into. I am sure there's something screwy about it. Just being lazy I am sure I'll figure it out. And like always once the light blub moment happens I'll go "Dhooo" in a Homer Simpson stylie.
June 2, 2015 at 9:54 am
I'm not sure if you realized but Lynn was being quite literal. Open up your procedure and just do a Ctrl-F and look for any RETURN statements. Often RETURN are used for status codes. So work your way back and look why the statement is returning a -6.
June 2, 2015 at 11:55 am
douglas.allison1 (6/2/2015)
Hi All,I am running a sproc we have developed and I am getting a -6 as a returned value does anyone know what that actually means.
TIA
Doug
Only the developer who wrote the stored procedure, anyone who's read the documentation for it, and now you. It's a custom value.
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
June 2, 2015 at 12:08 pm
ChrisM@home (6/2/2015)
douglas.allison1 (6/2/2015)
Hi All,I am running a sproc we have developed and I am getting a -6 as a returned value does anyone know what that actually means.
TIA
Doug
Only the developer who wrote the stored procedure, anyone who's read the documentation for it, and now you. It's a custom value.
And anyone who has read the code. The code might not have the comments to explain what the return value means, but the logic to return the value will be there.
June 2, 2015 at 12:08 pm
Thanks for the replies people. I will crawl back under my stone from whence I came. I wrote the sproc. I'll just sleep on it and look afresh in the morning. It usually works 😀
It's been a frantic last 5 months.
June 3, 2015 at 6:10 am
douglas.allison1 (6/2/2015)
Thanks for the replies people. I will crawl back under my stone from whence I came. I wrote the sproc. I'll just sleep on it and look afresh in the morning. It usually works 😀It's been a frantic last 5 months.
Heh... wouldn't that be a -6 months? 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply