After a connection to the SQL server, the databases inside it can be listed.
con = dbConnect(odbc(), Driver = "ODBC Driver 17 for SQL Serv