Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 CSV Function

Author  Topic 

manvendra
Starting Member

2 Posts

Posted - 2010-07-15 : 08:40:48
How to write function in sql server to retrive columns in CSV format ??

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2010-07-15 : 08:44:22
You mean you want to write a function that

1) Accepts a CSV list as argument
2) Returns a resultset

See fnParseLsit here http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=76033



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-07-16 : 11:29:47
If it is not you want, use

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81254

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-07-16 : 11:32:32
or post example data and wanted result.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -