مشاهده تعریف View در SQL Server

از پاپیروس
پرش به ناوبریپرش به جستجو


این مطلب نیازمند گسترش است.


select definition
from sys.objects o
join sys.sql_modules m on m.object_id = o.object_id
where o.object_id = object_id( 'dbo.MyView')
  and o.type = 'V'