• Robert, did you ever get a satisfactory answer to this? I'm getting a new behavior lately where "AS" is moved up to the view declaration line, and my view's first line's leading white space (a tab) is removed. Used to work; now it doesn't (SSMS 11.0.5343.0). The remaining tabs are preserved (and removing tabs is not an option - I would die).

    Anyone?