Mahesh .NET Blog
Saturday, February 23, 2008
SQL-Server :Example of COALESCE
To bring the Multiple Column in to single column using comma separator:
declare @var varchar(800)
select @var=COALESCE(@var +',', '')+ CAST(
AS varchar(250)) from
print @var
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment