Retour table avec CLR

Je veux écrire une procédure CLR qui prend un texte et retourne un tableau avec tous les mots dans ce texte. Mais je ne peux pas comprendre comment retourner un tableau. Pourriez-vous me dire?

    [Microsoft.SqlServer.Server.SqlFunction]
    public static WhatTypeShouldIWriteHere Function1(SqlString str)
    {
        string[] words = Regex.Split(str, @"\W+").Distinct().ToArray();
        //how to return a table with one column of words?
    }

Merci pour votre aide.

Mise à JOUR: j'ai besoin de le faire pour sql 2005

OriginalL'auteur StuffHappens | 2010-02-11