My database suddenly stopped working and from checking the error logs it says that the master database was corrupted.
So I tried rebuilding the system database with the command:
setup /ACTION=REBUILDDATABASE /QUIET
/INSTANCENAME=<instance name> /SQLSYSADMINACCOUNTS=<accounts>
Run Code Online (Sandbox Code Playgroud)
After running the command, the database server has started working again, but all my database are nowhere to be found. I really need some ideas as to I have no backup databases.
I have the idea that the database files (mdf, ldf, ndf) are still …