SQL Server Information_schema Temp Tables
SELECT
*
FROM
tempdb.INFORMATION_SCHEMA.COLUMNS
WHERE
TABLE_NAME LIKE '%XYZ%'
ORDER BY
ORDINAL_POSITION
MzanziLegend
SELECT
*
FROM
tempdb.INFORMATION_SCHEMA.COLUMNS
WHERE
TABLE_NAME LIKE '%XYZ%'
ORDER BY
ORDINAL_POSITION