How to find if the logged in User has permissions to see "view" definitions on SQL Server? I need to find out what tables/columns a view is made from, 

I used this SQL for the same; for view definition, we used this query: 

Query: 

```
select * 
from sys.objects 
where name like '%SECTION_MASTER_V%' 

```

Result: 579337674

Query: 

```
SELECT definition
FROM sys.objects o
JOIN sys.sql_modules m ON m.object_id = o.object_id
WHERE o.object_id = 579337674
  AND o.type = 'V'   

```

Result: **null**

I get null as a result. Does anyone knows what may be wrong here?