sql server 查看创建视图的sql语句

--sp_helptext v_viewname
sp_helptext port_dept
--效果

原文地址:https://www.cnblogs.com/valiant1882331/p/4958686.html