xxxxxxxxxx
SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = N'DIM_VENDING_MATERIALS'
xxxxxxxxxx
-- Replace 'your_table_name' with the actual name of your table
SELECT column_name
FROM information_schema.columns
WHERE table_name = 'your_table_name';
xxxxxxxxxx
SELECT COLUMN_NAME AS 'ColumnName'
FROM INFORMATION_SCHEMA.COLUMNS
WHERE
TABLE_NAME LIKE '%assembly_armatureassy_tbl%'
and COLUMN_NAME LIKE '%supplied%'