I can't figure out why this stored procedure is not doing what I expect it to do. I have taken the screen shots of the table, data, procedure and the results.
I'm expecting this to return 3 rows: 1.2.3, 9.8.7, and 9.5.3. But the data that it's returning 1.2.7, is not even from the same row. 1 and 2 are from row 1 and 7 is from row 2... I'm not even sure how that happens.
Thanks for your time!