Putting this here to remember how to query out the metadata of a view, using the
AdventureWorks2017
[https://docs.microsoft.com/en-us/sql/samples/adventureworks-install-configure?view=sql-server-ver15&tabs=ssms]
database view vAdditionalContactInfo for reference.
use [AdventureWorks2017]
SELECT [c].[column_id], [c].[name] AS [ColumnName]
FROM [sys].[columns] [c]
INNER