in

SQL Server Community Blogs

Voices of the SQL Server Community
All Tags » SQL server » T-sql » split (RSS)

Browse by Tags

  • Splitting csv to columns

    Suppose you have string in csv format and want to split into seperate columns. You can use parsename function as long as you have maximum four values. The following would work for any number of values declare @s varchar ( 2000 ), @data varchar ( 2000 ) select @s = 'this,is,test' select @data = '''' ...
    Posted to Madhivanan (Weblog) by Madhivanan on 03-15-2008
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems