>When we paste a script in SSMS, it does some kind of intellisense auto wrapping. If this is only one command line, it will break it on several lines such as:
>
>
>DROP INDEX NoClient ON Invoice
>
>
>...which will result in:
>
>
>DROP INDEX NoClient
>
>
> ON Invoice
>
>
>Is there a way to avoid that?
What version of SSMS you're using? I haven't noticed the same problem.
If it's not broken, fix it until it is.
My Blog