sp_MSForEachTable

Once you get the database with ? then the rest is easy.
Look at sys.tables, sys.columns

1 Like