I\'m attempting to select the column names of a view in a similar way as selecting from information_schema.columns.
view
information_schema.columns
I can\'t seem to find a wa
I found this way working for views (SQL 2017). I was not able to get data from information_schema.columns and sys.columns:
sys.columns
SELECT * FROM sys.all_columns WHERE object_id = OBJECT_ID('')