If I select 'edit' in SS2005 management studio express, I am given a T-SQL 'Alter View' expression that, as given, describes the existing view. I can edit the expression and use it to alter the view.
Is there any other way of getting that T-SQL script?
As described here: Is there a way to retrieve the view definition from a SQL Server using plain ADO? sys.sql_modules and syscomments.text both provide only a historical 'create' script which may or may not be the same as the view as it exists today: it's common to find that the 'create' script creates a view with a different name.