How to get a view table query (code) in SQL Server 2008 Management Studio

后端 未结 5 1081
不知归路
不知归路 2020-12-23 17:37

I have a view in SQL Server 2008 and would like to view it in Management Studio.

Example:

--is the underlying query for the view Example_1
select * 
         


        
5条回答
  •  独厮守ぢ
    2020-12-23 18:31

    if i understood you can do the following

    Right Click on View Name in SQL Server Management Studio -> Script View As ->CREATE To ->New Query Window

提交回复
热议问题