what is the database that you are using ?
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
In MS SQL Server Management Studio: Right click the view and select script view as > create to > New Query Editor Window.
A more "advanced" approach is to visit sys.sql_modules (I'm not sure about the modules part of the table).
adam_k
Practically a Posting Shark
803 posts since Jun 2011
Reputation Points: 256
Solved Threads: 149