“Database ‘Adventureworks’ does not exist. Make sure that the name is entered correctly” can occur if there is a mistake in the name of the database. Assume that there is a need to run database “Adventureworks”. The next syntax was used to issue the database:
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, to notice the error will not take many efforts. In this case, it is necessary to change letter “a” to “e”: