Hi,
I hope you all are doing well. Today i came with new challenge. The matter included in this form is just for the knowledge purpose, so following is the thing what i am looking for.
As We have metadata of all objects inside the System Views of Views like sys.tables, sys.all_objects, sys.columns etc. I don't want to go with any user interface, just want to list all the things with a query. How can i list all the System Views?
I hope you all are doing well. Today i came with new challenge. The matter included in this form is just for the knowledge purpose, so following is the thing what i am looking for.
As We have metadata of all objects inside the System Views of Views like sys.tables, sys.all_objects, sys.columns etc. I don't want to go with any user interface, just want to list all the things with a query. How can i list all the System Views?
or
I need a query that can list all the System Views, e.g output should be like that:
query: SELECT * FROM [dbo].[abc]
Result:
-- Name --
1) sys.tables
2) sys.columns
3) sys.views
4) information_schema.schemata
......
N) upto so on....
I need a query that can list all the System Views, e.g output should be like that:
query: SELECT * FROM [dbo].[abc]
Result:
-- Name --
1) sys.tables
2) sys.columns
3) sys.views
4) information_schema.schemata
......
N) upto so on....


Anil JhaRank #1,988 · 733 reputationPosted Aug 8, 2017, 11:59 PM EDT
Manish KumarRank #1,622 · 956 reputationPosted Aug 2, 2017, 11:36 PM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 3, 2017, 3:22 AM EDT
Parminder Pal SinghRank #4,422 · 344 reputationPosted Aug 16, 2017, 10:31 PM EDT
saida chary26 reputationPosted Aug 18, 2017, 5:49 AM EDT
Naveen BishtRank #1,462 · 1.1K reputationPosted Aug 2, 2017, 3:31 AM EDT
SELECT * FROM sys.viewsGokhul VarmanRank #1,505 · 1.1K reputationPosted Aug 2, 2017, 5:01 AM EDT