A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
Here is a query for indexed views:
select schema_name(v.schema_id) as schema_name,
v.name as view_name,
i.name as index_name,
m.definition
from sys.views v
join sys.indexes i
on i.object_id = v.object_id
and i.index_id = 1
and i.ignore_dup_key = 0
join sys.sql_modules m
on m.object_id = v.object_id
order by schema_name,
view_name;
However, the only real benefit of indexed views comes if you have indexes on calculated values in the views. If you are doing straight selects, you can usually just create the indexes on the tables to improve the performance.