• To get rid of the errors:

    1) Paste into new query window

    2) Select the whole query

    3) From the toolbar, choose Edit\Advanced\Delete Horizontal White Space