I tried to execute scripts from [1] in model database and user-defined databases but they give definitions/scripts of only user-defined (non-system) views, i.e. those that I anyway can easily get from GUI.
How can I see/script the definition/script of a system view in SQL Server 2008 R2?
[1]
Answers to question "System Views text in SQL Server 2005"
http://stackoverflow.com/questions/432500/system-views-text-in-sql-server-2005