The main answer I was going for is the answer to "Can I put just 'return' anywhere many times in my SP and will it still keep the output variable value.
George answered it perfectly.
[monkey][snake] <.
I was going to help, then I decided that the code is a complete copy/paste job and knew the OP wouldn't learn a thing from the help.
[monkey][snake] <.
Is there a way to immediately stop execution of a stored procedure that has an output parameter anytime certain criteria is met?
My situation is this (cheap SP skeleton) :
if errorcheck begin
set @outputString = 'error'
--if I hit this error, I don't need to execute anymore of the SP
end...
Ok, I got it working.
It was an issue of CSS being declared on a div ID instead of a class.
In your CSS make these classes (highlighted)
[!]div.ItemNameNumber {
border-bottom: solid 1px #CCCCCC;
padding-bottom: 2px;
margin-bottom: 5px;
font-weight: bold;
font-size: 12px;
}[/!]...
<a href="javascript:SaveRemove(\'school_remove.php?id=' . $sch['school_id'] . '&user=' . $user . '&name=' . $sch['s_id'] . '\',\'height=380,width=300,scrollbars=no\')"\;>R</a>
Maybe if you put the href call above on the onclick of the anchor, you won't need to disable Zone Alarm.
<a...
There's nothing you can do about that except maybe disable Javascript.
The error occurs because of poor programming by the web developer of the site.
[monkey][snake] <.
I like that term, I hope that term takes the world by storm.
'Uncle Rico', hahahahahhhhahahaahah
Isn't that the guy on Napoleon Dynamite?
[monkey][snake] <.
Glenn, because that one person wasn't smart enough to find a value in an array doesn't mean that programmers as a whole don't know what they are doing.
I will admit that competence levels at work are probably at an all-time low, but I wouldn't blame that on education.
I'd blame it on lazy...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.