• Open the file in a decent text editor like notepad++ and set it to show all symbols.

    It might be that your last line has an incorrect structure.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP