I'm running different queries in SSMS it shows "command completed successfully" but when I refresh the database, can't see the updates in databse. Though you can see in image that I have created two database as students and students1. I have deleted the database students1 and it shows that the command completed successfully but still students1 is present in object explorer.
I'm a noob trying to learn sql but theses kind of glitchs are making the experience worst for me. Can you please help me?enter image description here
right click on the "Databases" and press "Refresh". If you want to refresh list in the IntelliSense then in the query window press Crtrl+Shift+R