Re: SQL user with no login name
From: Dan Guzman (danguzman_at_nospam-earthlink.net)
Date: 07/22/04
- Next message: Dan Guzman: "Re: Who should be owner if bd?"
- Previous message: Jeremy Pond: "SQL user with no login name"
- In reply to: Jeremy Pond: "SQL user with no login name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 21 Jul 2004 20:46:09 -0500
If the reported LoginName is NULL or mapped to the wrong login, you can
create a new login with the desired password and then map the orphaned user
to that login with sp_change_users_login: Orphaned users may occur after a
database is restored to a different server.
See the Books Online <tsqlref.chm::/ts_sp_ca-cz_8qzy.htm> for more
information on sp_change_users_login.
-- Hope this helps. Dan Guzman SQL Server MVP "Jeremy Pond" <jpond@railcu.org.au> wrote in message news:1a9f01c46f81$433779f0$a601280a@phx.gbl... > hi, > > I'm trying to reset the password of an SQL login. > However it doesn't have a login name. It only has a > username. and hence when i use the Tsql command > sp_password it doens't recognise the user as it has no > login name. > > How can i assign a login name to the user ? > > thank you
- Next message: Dan Guzman: "Re: Who should be owner if bd?"
- Previous message: Jeremy Pond: "SQL user with no login name"
- In reply to: Jeremy Pond: "SQL user with no login name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|