We have an old DB, 'ourDB', which was originally created by user: X
Now user X has been deleted and no longer exists on the DB Server.
However the user X is STILL the owner of the DB 'ourDB'.
Can we, without any risk for running software, change the DB owner to an existing user called 'newOwner'?
How is this done?
Something like this?:
USE ourDB
GO
EXEC sp_changedbowner 'newOwner'
GO
I'm a bit worried about changing the db_owner of a db as it seems like a major operation, so if anyone knows of possible consequences it would be very nice to hear :).
Kind regards