March 2, 2007 at 11:24 am
Hello all,
Quick question from a newb :
I've searched through BOL and here for an answer but can't seem to find one. After a variable has been declared, if I change the SET @variable from = 120 to SET @variable = 70 does the stored procedure need to be recompiled or will it automatically use the updated variable when it runs the next time? The proc has been in use for a while but I need to change this one value and need to know if I need to do anything else to let SQL know the change has been made. Thanks in advance for any and all assistance.
March 2, 2007 at 12:16 pm
I assume it recompiles since there is an explicit command alter procedure.
March 2, 2007 at 5:07 pm
You don't need to explicity recompile it.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2007 at 6:04 am
Thank you guys so much for the responses!
March 5, 2007 at 7:06 am
Everyday should be a good day to die |
There are no good days to die... it's over rated
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2007 at 7:13 am
True death is over rated, but if you're gonna do it you might as well have gotten in everything that you wanted to do!
March 5, 2007 at 7:47 am
Heh... yeah, I knew what you meant... I was just teasin' for a minute 'cause I woke up this morning feeling great. Sorry, Tao...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2007 at 7:51 am
No worries at all Jeff.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply