I want to do the following using SQL Server 2005.
Create a stored procedure that takes a
varchar()
comma "," delimited paramSplit / Explode the
varchar()
param and insert the values in a temporary table
Something that will do the following:
INSERT INTO #temp_table SPLIT('john,peter,sally',',');
SELECT * FROM #temp_table;
Is there a function or stored procedure that will perform a split?
If so, how does it work?
Thanks