Code: Select all
SELECT *
FROM information_schema.COLUMNS
WHERE IS_NULLABLE = 'YES'
and TABLE_NAME like 'BMC%'
and TABLE_NAME NOT LIKE '%ARCHIVE'
Code: Select all
SELECT *
FROM information_schema.COLUMNS
WHERE IS_NULLABLE = 'YES'
and TABLE_NAME like 'BMC%'
and TABLE_NAME NOT LIKE '%ARCHIVE'