How to fetch comma seperated values(csv) from a field in sqlserver2000

Recommended Answers

Try this:

select fieldname + ';' from tablename
--where criteria 
for xml path ('')
Jump to Post

All 2 Replies

Try this:

select fieldname + ';' from tablename
--where criteria 
for xml path ('')
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.