While I was on vacation, my boss gave the sa password out to a couple people in our finance department. Now I have to change it for the first time in a few years (no IT turnover).
What's the best way to trace what programs are using the sa login to access the databases?
I'm guessing I could run a trace on the sa login for a day or so and that should catch most of the programs that connect, and the HostName field should tell me which PC's are connecting, but what's the best filter I can use so a 24 hour trace doesn't bog down the server?
I've run some SQL profilers to try and see what programs use it for access, but the trace fills up pretty quickly with thousands or records. We've been bad in the past with setting up 3rd party access with the sa password, trying to slowly remedy that. But now because these users have the sa password and the ability to connect to the database to run queries with the sa login, I'm panicking a bit and feel the need to change it asap.
Are the users actually supposed to be logging on with sa? If not , and you feel confident you won't break the applications, why don't you change the sa password - and issue users with a logon with less privileges?