@hot2use By the way, regarding that fiddle link that Alexei suggested. At first I wanted to move the link to the bottom of the post but then realised it was just confusing. The editor used SQL Fiddle, which doesn't show the PRINT output. I
adapted it for dbfiddle to use instead of Alexei's link but dbfiddle does show the result of the PRINT, which makes no sense in the context of what the OP was complaining.