If you want to check the database name in Oracle that you connected there are several ways to get it. I added 6 different methods to check it.