Show the DDL Code for a View
1 2 3 4 5 6 7 |
USE ddreports; SELECT m.definition FROM sys.views AS v INNER JOIN sys.sql_modules AS m ON m.object_id = v.object_id WHERE v.name = 'mara' |
Show the DDL Code for a View
1 2 3 4 5 6 7 |
USE ddreports; SELECT m.definition FROM sys.views AS v INNER JOIN sys.sql_modules AS m ON m.object_id = v.object_id WHERE v.name = 'mara' |
Powered by WordPress & Theme by Anders Norén
Leave a Reply