i backed up the database d1 and deleted it off my sql server. when i innitiate the sql server instante is supposed to run the d1 DB. But since i deleted it, it pops up an error. How can i fix it?
You'll need to login as a different user, one with permissions to run sp_defaultdb. Then run sp_defaultdb to change the default database of your userid.