|
I've spent two hours on this, and I figure it out five minutes after posting the question. I guess I just needed to spell out the problem.
I'm concatenating the column values together into a single varchar() variable. After each row is processed, I set the varchar() variable to blank (myVar = *blank;). Apparently that also pads myVar with blanks so the next time I try to append a new value (myVar += columnValue;) nothing happens. I can't believe I've never encountered this before.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.