Gives you all the Information Schema

PHOTO EMBED

Tue Dec 26 2023 14:43:15 GMT+0000 (Coordinated Universal Time)

Saved by @darshcode #sql

SELECT catalog_name AS DBName, 
    Schema_name, 
    schema_owner
FROM information_schema.SCHEMATA;
content_copyCOPY

https://www.sqlshack.com/different-ways-to-search-for-objects-in-sql-databases/