August 17, 2006 at 5:36 pm
Hi
I have a code table that has about 10 codes, and I want to concatenate them all together into one string, with a space in between each one. Is there an easy way to do this? Here's what I've tried and it's not working:
declare @ws_list varchar (500)
update Tbl_Codes
set @ws_list = @ws_list + ' ' + db_code
from Tbl_Codes
Thanks
Rick
August 18, 2006 at 5:12 am
It works! Thanks
August 18, 2006 at 6:22 am
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply