Database ‘Adventureworks’ does not exist (Msg 911)

Database ‘Adventureworks’ does not exist. Make sure that the name is entered correctly” this can occur if there is a mistake in the name of the database. Assume that there is a need to run the database “Adventureworks”. The next syntax was used to issue the database:

USE Advantureworks

and the following error was received:

Msg 911, Level 16, State 1, Line 1
Database 'Advantureworks ' does not exist. Make sure that the name is entered correctly.

If the database name is read carefully, noticing the error will not take much effort. In this case, it is necessary to change the letter “a” to “e”:

USE Adventureworks