• That is cool SQLRNNR.

    I don't know if this would always work, but this at least works for the given puzzle to return it in 9 x 9:

    SELECT TOP 9 SUBSTRING(s, ROW_NUMBER() OVER (ORDER BY s) * 9 - 8, ROW_NUMBER() OVER (ORDER BY s) * 9 - (ROW_NUMBER() OVER (ORDER BY s) * 9 - 8))

    FROM x

    WHERE ind = 0

    [font="Arial Narrow"]bc[/font]