Doctor Who 2 (1/26/2015)
I'm still not sure what sort of data type the @words variable is, though.
It'll be varchar or nvarchar
And another question. I've written UDF's before, but they were all scalar return type UDFs. I am not sure what the syntax is, in this case, to return the table expression that Mapper should return.
Have you looked in Books Online? I seem to recall the documentation on functions is pretty good.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability