Hai guys,
I ve used the following split function,
CREATE FUNCTION dbo.Splitfn(@String varchar(8000), @Delimiter char(1)) returns @temptable TA
Since people will be coming from Google, make sure you're in the right database.
Running SQL in the 'master' database will often return this error.