Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
spatemp
Starting Member
11 Posts |
Posted - 2010-05-24 : 22:12:00
|
College of mine tells me that IF statement in stored procedure is not a good idea becuase:1) it either recompiles stored proc on every use2) or the sql statement inside the "if" are not cached etc...Is any of this true. Anoterword, is there any downside in using IF statement in SQL stored proc. Thanks for your help. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
zstarsales04
Starting Member
20 Posts |
Posted - 2010-05-25 : 02:11:40
|
spam removed |
|
|
|
|
|