Listing All Views in SQL Server
Hello to everyone,
In this article I will provide information on how to list All Views in SQL Server.
In SQL Server you may want to list all Views in some cases.
You can easily do this with the help of the code below.
--Listing All Views in SQL Server
SELECT * FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE ='VIEW'
When you run the code, you will get a result like the one below.
As you can see, all Views are listed.
Good luck to everyone in business and life.