elutin,
I am not getting your point.
you mean to say that using UDF is ok.
what do you mean by in-line SQL ?
i just little bit confused...what is the difference between in-line SQL and UDF ?
you mean
inline sql - Table valued functions ?
UDF - User defined scalar functions?
karthik