Answers for "mariadb search columns"

SQL
0

mariadb search columns

select tab.table_schema as database_name,
    tab.table_name
from information_schema.tables as tab
    inner join information_schema.columns as col
        on col.table_schema = tab.table_schema
            and col.table_name = tab.table_name
            and column_name = 'your column name'
where tab.table_type = 'BASE TABLE'
order by tab.table_schema,
    tab.table_name;
Posted by: Guest on August-23-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language