How to view the list of databases available select name from sys.databases; - To pick a database to work use testdb; - To view the tables available in the testdb database select table_name from ...