Viewing 3 posts - 1 through 3 (of 3 total)
Thanks lehmannds for the solution, and Mike for the robust refinement. It works great, replaces my cursor 37x faster for the piece I was working on.
June 28, 2010 at 3:11 am
Great article and it surely points the way for more efficient statements.
I'm eagerly anticipating the next series of this article for more complicated scenarios where cursors can be replaced.
I'm...
June 26, 2010 at 11:38 pm
Thanks a lot for the lead.
I suppose this can take care of the trailing decimal point for integers:
SELECT REPLACE(REPLACE(RTRIM(REPLACE(@a, '0' ,' ')), ' ','0') + ' ', '....
January 28, 2010 at 8:56 am
Viewing 3 posts - 1 through 3 (of 3 total)