Is there a SQL Server command to connect a user of a single database to log in for the database server of the same name?
Database Server - Default Instance
Server Login - TestUser
Existing user on TestDB - TestUser
If I try to make the TestUser login a user of the TestDB database, the "User, group, or role" already exists.
Does anybody know of an easy way to assign the DB user to the server login?