Shortly after I installed MS SQL Server 2008 on my machine, I forgot the password AND username that I chose. How can I reset them?
This question seems promising, but it didn't work for me.
When I tried exec sp_password @new='changeme', @loginame='sa'
as a query, I received:
Msg 15151, Level 16, State 1, Line 1
Cannot alter the login 'sa', because it does not exist or you do not have permission.