Query View Reference

There is only one query view in SMS named v_Query. This view contains information about all of the queries in the SMS hierarchy. The query ID, query name, comment, target class name, and the collection ID to which the query is limited, if applicable, are all listed.

The query view lists all of the available queries and isn't usually joined to other views. It is possible to join the query view to a security view so that the query name can be displayed when listing the class or instance permissions on the specific query object. An example of this is available in the Query View Query Sample section.