MS SQL query to check who change SA roles for account

Hi

I am looking for SQL query to check who change my SA roles.
Or is there anyway to find out who removed my SA roles on SQL server?

Please help, M
michalek19Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Máté FarkasDatabase Developer and AdministratorCommented:
Sorry, but SA is not a role but a login in SQL Server.
SA is a fixed system administrator login which cannot be removed or deleted only disabled.
SA must have a sysadmin server role which cannot be revoked or denied.
What is your exact problem or what kind of error message do you get?
1
Vitor MontalvãoMSSQL Senior EngineerCommented:
SA is a login name as stated above by Máté.
Maybe you wanted to say sysadmin role instead?
0
michalek19Author Commented:
Some one removed sysadmin role from my account. I would like to know if there is any to find out who was that.

Is there any query that I can run against that SQL server to find that information ?
0
Vitor MontalvãoMSSQL Senior EngineerCommented:
No. It's too late now.
For future verifications, you can create a server trigger level to register all permissions changes. But this will only be valid for the future changes as changes made in the past can't be retrieved anymore.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SQL

From novice to tech pro — start learning today.