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

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.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.