stored procedure vs UDF
Posted
by TheObserver
on Stack Overflow
See other posts from Stack Overflow
or by TheObserver
Published on 2010-04-14T00:42:04Z
Indexed on
2010/04/14
0:53 UTC
Read the original article
Hit count: 425
I have a select statement and in a couple of the fields, I want to check if an entry for the record exists in another table and if it does, output 1 value and if it doesn't, provide another value.
What would be the best way to do it? When would you use a stored procedure and when would you use a UDF?
© Stack Overflow or respective owner