Ajay Patel's
Why should be a fan as you are a star of tomorrow,,,
Thursday 10 May 2012
comma separated values in sql
DECLARE
@text
NVARCHAR
(
MAX
)
SELECT
@text
=
COALESCE
(
@text
+
', '
,
''
)
+
StateName
FROM
State_master
SELECT
@text
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment