LISTING 2: A Stored Procedure That Inserts the Return Table into the Database CREATE PROCEDURE procStringToTableInsert @string varchar(8000) AS SET NOCOUNT ON INSERT MyTable (col0, col1, col2, col3) SELECT col0, col1, col2, col3 FROM dbo.fn_StringToTable(@string) RETURN END