SQL Server Function … and two hours of my life

Actually this is kind of same issue that I blogged about way back in last year.  At that time it was all about view, but I didn’t knew that same limitation exists for functions (aka UDF) as well. Exactly like view, in function also when one function (child function) is calling another function (parent function)