• If you copy the script from the web page into a SQL query it contains non-printing characters that Transact-SQL does not like. If you copy the script into notepad first, you will see the non-printing characters.

    To make the script runnable, you can use the find/replace function in notepad to replace the non-printing characters with an empty string.