This is the query I use to get tables metadata from SQL Server database to include db_name, table_name, column_name, data_type and others
SELECT * FROM INFORMATIO