Re: Script for sql logins

From: Jozsef (Jozsef.Gebri@caa.qld.gov.au)
Date: 04/01/03


From: "Jozsef" <Jozsef.Gebri@caa.qld.gov.au>
Date: Mon, 31 Mar 2003 15:58:22 -0800


Try the results from:

select 'exec sp_addlogin ['
+ name
+ '],'
, password
, ', @encryptopt=skip_encryption'
from master..sysxlogins

This will migrate your users and passwords between
servers, including from SQL 7 to 2000 (but not on SQL
6.5).

Jozsef ;-)

>-----Original Message-----
>If both servers are SQL 2000 then you can use a DTS
package. There is an
>object that you can add to the DTS package
called "Transfer Logins Task".
>
>--
>Denny Cherry
>Database Administrator
>GameSpy Industries
>
>"Manoj" <mgmanoj@hotmail.com> wrote in message
>news:03a601c2e8ab$f56fed40$3001280a@phx.gbl...
>> Hello
>>
>> when i generated the script using generate script
option
>> for sql server & windows login. All the users with sql
>> server login has now blank password.
>>
>> I wanted to move all users from one server to another.
>>
>> What is the option to keep the passwords same on both
the
>> servers.
>>
>> Thanks,
>>
>> Manoj
>
>
>.
>



Relevant Pages

  • Re: sql 2005 active/passive cluster options
    ... that is storing data on a seperate SQL 2005 Standard box. ... SQL server had an hardware fault causing application downtime for ... their product is an active/passive sql cluster. ... terms of active/passive failover I need two identical servers (since ...
    (microsoft.public.sqlserver.clustering)
  • RE: permissions compatible with pre-Win2000 servers
    ... Based on your reply, the NT machine which running SQL 7 is not a PDC, BDC, ... With regards to the anonymouse connection to SQL, ... >Our concern is for our NT4 servers that are dedicated to running SQL7 ...
    (microsoft.public.windows.server.migration)
  • Re: Performance Monitor / Database Storage using ODBC
    ... This solution would be just working temporarily (a few servers), ... Andrew J. Kelly SQL MVP ...
    (microsoft.public.sqlserver.tools)
  • Re: Web App Security Model.
    ... SQL permissions are correctly restrictive (so worse case the allowed ... If these machines are standalone the threats posed by them are ... applications / implementation and whether their design has ... My company wants to have a few Windows Servers running web app's (ASPX ...
    (microsoft.public.security)
  • Re: ~~determining DNS server in network connection properties
    ... This is going to be a matter of writing a script that pulls this info. ... How to get the list of servers? ... You can then build SQL ...
    (microsoft.public.windows.server.active_directory)