When I take the code from Toad and paste it into Notepad, there are some issues
with the embedded code. In the screen shot below, the code on the left is in
toad and on the right is what happens to it when it is pasted into Notepad. This
does not happen with text from SSMS.