>Hi Naomi,
>
>Can you give me some directions on how I can achieve this using UDF? I'm totally new with UDF.
>
>Thanks in advance...
First give the idea of what type of the result you want.
But I personally never use UDFs in Select-SQL since the results may be unpredictable.
If it's not broken, fix it until it is.
My Blog