June 15, 2008 at 5:04 pm
Bottom line is, if the function, inline or not, refers to a table, it's a form of RBAR that may have a significant impact on performance whether the execution plan is cached or not.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 15, 2008 at 5:07 pm
In fact... it doesn't even have to refer to a table to be RBAR... and split function based on a While loop is a form of RBAR and performance can be a problem. Of course, you sometimes have no choice because of poor design of the database or the requirements of the necessarily RBAR GUI parameter passed to a proc.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 16 through 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply