SQL Server Express 2008 database User dbo with blank Login

1.3k views Asked by At

We have SQL Server Express 2008 on a production server. For the database in question we need to ensure that the local development version is identically configured to that on the production server.

In the production db the User dbo has a blank login.

In the local db the User dbo is using the login of the local machine's administrator.

I can change the dbo to be a different login (say sa) on both machines, but I don't really want to mess with the production setup.

So, 2 questions:

  1. Are there legitimate (e.g. security) reasons to have a db's dbo user with an empty login, or is it poor/incomplete setup?

  2. If there is nothing wrong with it, how can I remove the login from the local database's dbo user?

Thanks for all guidance!

1

There are 1 answers

3
AudioBubble On BEST ANSWER

The database user dbo is unique, as in logins in the sysadmin fixed server role are automatically mapped to it. That's probably what you mean by "blank login".

Are you using the sa login or another login with sysadmin privileges to access the database?