How can I get the list of columns of the INFORMATION_SCHEMA.COLUMNS view?
I can get the columns of any table I create using:
select *
from information_schema.columns
where table_name = 'MY_TABLE'
The result set includes multiple columns, such as:
TABLE_CATALOGTABLE_SCHEMATABLE_NAMECOLUMN_NAMEDATA_TYPE- etc.
How can I get the full list of these columns? It seems that the COLUMNS view does not include its columns in itself (as in Oracle, PostgreSQL, or MySQL). If I run:
select *
from information_schema.columns
where table_name = 'COLUMNS'
I get nothing. Maybe I'm searching in the wrong place.