Table Valued Function Vs Scalar Function Definition