Paresh's Blog
Thursday, November 20, 2008
Get Comma Seperator Value in one Filed
select
STUFF
( (SELECT ',' + [Column_name]
FROM [TableName] WHERE [Criteria]
FOR XML PATH
('')), 1, 1, '') AS [DIsplay Name]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment