• I experienced a similar problem a few times: some lines in a Stored Procedure didn't work. I dropped those lines and wrote it anew from scratch (in Enterprise Manager), and it worked.

    I suppose there were some characters in those lines that Enterprise Manager doesn't show ...