Hi,
using a strored procedure i get a field like this
FileNo
0001 0002 0003
how to get this as 0001,0002,0003
pls help..
Hi,
using a strored procedure i get a field like this
0001 0002 0003
how to get this as 0001,0002,0003
pls help..
Is that what you mean?
declare @variable nvarchar(250)
select @variable = f1 + ',' + f2 + ',' f3 from table
How about this:
select FileId, REPLACE(FileNum, ' ', ', ') from table