assuming your split returns column name item
insert <table> (colname)
select y.item
from dbo.SplitString(@testString, ':') x
cross apply
dbo.SplitString(x.item, ',') y
More Related Contents:
- Max Nbr of Months W/ No Activity in Past 12 Months
- SQL server query to output the data shown below
- Will ANSI JOIN vs. non-ANSI JOIN queries perform differently?
- How do I generate a random number for each row in a T-SQL select?
- Combine multiple results in a subquery into a single comma-separated value
- How do you view ALL text from an ntext or nvarchar(max) in SSMS?
- Floor a date in SQL server
- How to drop a table if it exists?
- Create a view with ORDER BY clause
- What does ‘COLLATE SQL_Latin1_General_CP1_CI_AS’ do?
- INSERT INTO vs SELECT INTO
- Possible to store value of one select column and use it for the next one?
- How FOR XML PATH(”) works when concatenating rows
- Scheduled run of stored procedure on SQL server
- SQL Server ORDER BY date and nulls last
- SQL Server variable columns name?
- What is the Oracle equivalent of SQL Server’s IsNull() function?
- How to determine the field value which can not convert to (decimal, float,int) in SQL Server
- How can I get the sum of multiple datetime values?
- Use of Begin / End Blocks and the Go keyword in SQL Server?
- How do you determine what SQL Tables have an identity column programmatically
- Ampersand (&) operator in a SQL Server WHERE Clause
- Avg of float inconsistency
- how to write number to word function in sql server [closed]
- ADO.NET calling T-SQL Stored Procedure causes a SqlTimeoutException
- “If not exists” fails on SQL CE
- Does the `nodes()` method keep the document order?
- Incorrect syntax near ‘)’ calling stored procedure with GETDATE
- Generate MD5 hash string with T-SQL
- Why can’t Entity Framework see my Stored Procedure’s column information?