Collections:
sys.views - List of Existing Views in SQL Server
How To See Existing Views in SQL Server?
✍: FYIcenter.com
If you want to know how many views you have created in a database, you use the system view called sys.views to get a list of views defined in the current database. The tutorial exercise shows you how many views in database FyiCenterData:
USE FyiCenterData; GO CREATE VIEW fyi_links_view AS SELECT * FROM fyi_links; GO SELECT * FROM sys.views; GO name object_id schema_id type type_desc --------------- ----------- ---------- ---- ---------- fyi_links_view 1189579276 1 V VIEW fyi_links_top 1205579333 1 V VIEW (2 row(s) affected)
Â
2016-11-05, 1428👍, 0💬
Popular Posts:
What Is Open Database Communication (ODBC) in Oracle? ODBC, Open Database Communication, a standard ...
How to download Microsoft SQL Server 2005 Express Edition in SQL Server? Microsoft SQL Server 2005 E...
What Are Bitwise Operations in SQL Server Transact-SQL? Bitwise operations are binary operations per...
How To Change the Name of a Database User in SQL Server? If you want to change the name of an existi...
How To Verify Your PHP Installation in MySQL? PHP provides two execution interfaces: Command Line In...