<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Transfer The Logins and The Passwords Between Instances of SQL Server 2005</title>
	<atom:link href="http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sat, 25 May 2013 01:31:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: ahmed</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-452440</link>
		<dc:creator><![CDATA[ahmed]]></dc:creator>
		<pubDate>Tue, 09 Apr 2013 10:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-452440</guid>
		<description><![CDATA[How I can  move users from SQL 2008 Server to another SQL 2008 Server]]></description>
		<content:encoded><![CDATA[<p>How I can  move users from SQL 2008 Server to another SQL 2008 Server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #018 &#124; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-430057</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #018 &#124; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 02 Mar 2013 01:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-430057</guid>
		<description><![CDATA[[...] Transfer The Logins and The Passwords Between Instances of SQL Server 2005 This is one of the most popular blog post where I demonstrated how to move login from one server to another server. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Transfer The Logins and The Passwords Between Instances of SQL Server 2005 This is one of the most popular blog post where I demonstrated how to move login from one server to another server. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-408211</link>
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Tue, 15 Jan 2013 21:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-408211</guid>
		<description><![CDATA[it is saying &quot;no logins found&quot;]]></description>
		<content:encoded><![CDATA[<p>it is saying &#8220;no logins found&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leandro R Sales</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-405319</link>
		<dc:creator><![CDATA[Leandro R Sales]]></dc:creator>
		<pubDate>Tue, 08 Jan 2013 16:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-405319</guid>
		<description><![CDATA[USE master
GO
IF OBJECT_ID (&#039;sp_hexadecimal&#039;) IS NOT NULL
  DROP PROCEDURE sp_hexadecimal
GO
CREATE PROCEDURE sp_hexadecimal
    @binvalue varbinary(256),
    @hexvalue varchar (514) OUTPUT
AS
DECLARE @charvalue varchar (514)
DECLARE @i int
DECLARE @length int
DECLARE @hexstring char(16)
SELECT @charvalue = &#039;0x&#039;
SELECT @i = 1
SELECT @length = DATALENGTH (@binvalue)
SELECT @hexstring = &#039;0123456789ABCDEF&#039;
WHILE (@i &lt;= @length)
BEGIN
  DECLARE @tempint int
  DECLARE @firstint int
  DECLARE @secondint int
  SELECT @tempint = CONVERT(int, SUBSTRING(@binvalue,@i,1))
  SELECT @firstint = FLOOR(@tempint/16)
  SELECT @secondint = @tempint - (@firstint*16)
  SELECT @charvalue = @charvalue +
    SUBSTRING(@hexstring, @firstint+1, 1) +
    SUBSTRING(@hexstring, @secondint+1, 1)
  SELECT @i = @i + 1
END

SELECT @hexvalue = @charvalue
GO
 
IF OBJECT_ID (&#039;sp_help_revlogin&#039;) IS NOT NULL
  DROP PROCEDURE sp_help_revlogin
GO
CREATE PROCEDURE sp_help_revlogin @login_name sysname = NULL AS
DECLARE @name sysname
DECLARE @type varchar (1)
DECLARE @hasaccess int
DECLARE @denylogin int
DECLARE @is_disabled int
DECLARE @PWD_varbinary  varbinary (256)
DECLARE @PWD_string  varchar (514)
DECLARE @SID_varbinary varbinary (85)
DECLARE @SID_string varchar (514)
DECLARE @tmpstr  varchar (1024)
DECLARE @is_policy_checked varchar (3)
DECLARE @is_expiration_checked varchar (3)

DECLARE @defaultdb sysname
 
IF (@login_name IS NULL)
  DECLARE login_curs CURSOR FOR

      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM 
sys.server_principals p LEFT JOIN sys.syslogins l
      ON ( l.name = p.name ) WHERE p.type IN ( &#039;S&#039;, &#039;G&#039;, &#039;U&#039; ) AND p.name  &#039;sa&#039;
ELSE
  DECLARE login_curs CURSOR FOR


      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM 
sys.server_principals p LEFT JOIN sys.syslogins l
      ON ( l.name = p.name ) WHERE p.type IN ( &#039;S&#039;, &#039;G&#039;, &#039;U&#039; ) AND p.name = @login_name
OPEN login_curs

FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin
IF (@@fetch_status = -1)
BEGIN
  PRINT &#039;No login(s) found.&#039;
  CLOSE login_curs
  DEALLOCATE login_curs
  RETURN -1
END
SET @tmpstr = &#039;/* sp_help_revlogin script &#039;
PRINT @tmpstr
SET @tmpstr = &#039;** Generated &#039; + CONVERT (varchar, GETDATE()) + &#039; on &#039; + @@SERVERNAME + &#039; */&#039;
PRINT @tmpstr
PRINT &#039;&#039;
WHILE (@@fetch_status  -1)
BEGIN
  IF (@@fetch_status  -2)
  BEGIN
    PRINT &#039;&#039;
    SET @tmpstr = &#039;-- Login: &#039; + @name
    PRINT @tmpstr
    IF (@type IN ( &#039;G&#039;, &#039;U&#039;))
    BEGIN -- NT authenticated account/group

      SET @tmpstr = &#039;CREATE LOGIN &#039; + QUOTENAME( @name ) + &#039; FROM WINDOWS WITH DEFAULT_DATABASE = [&#039; + @defaultdb + &#039;]&#039;
    END
    ELSE BEGIN -- SQL Server authentication
        -- obtain password and sid
            SET @PWD_varbinary = CAST( LOGINPROPERTY( @name, &#039;PasswordHash&#039; ) AS varbinary (256) )
        EXEC sp_hexadecimal @PWD_varbinary, @PWD_string OUT
        EXEC sp_hexadecimal @SID_varbinary,@SID_string OUT
 
        -- obtain password policy state
        SELECT @is_policy_checked = CASE is_policy_checked WHEN 1 THEN &#039;ON&#039; WHEN 0 THEN &#039;OFF&#039; ELSE NULL END FROM sys.sql_logins WHERE name = @name
        SELECT @is_expiration_checked = CASE is_expiration_checked WHEN 1 THEN &#039;ON&#039; WHEN 0 THEN &#039;OFF&#039; ELSE NULL END FROM sys.sql_logins WHERE name = @name
 
            SET @tmpstr = &#039;CREATE LOGIN &#039; + QUOTENAME( @name ) + &#039; WITH PASSWORD = &#039; + @PWD_string + &#039; HASHED, SID = &#039; + @SID_string + &#039;, DEFAULT_DATABASE = [&#039; + @defaultdb + &#039;]&#039;

        IF ( @is_policy_checked IS NOT NULL )
        BEGIN
          SET @tmpstr = @tmpstr + &#039;, CHECK_POLICY = &#039; + @is_policy_checked
        END
        IF ( @is_expiration_checked IS NOT NULL )
        BEGIN
          SET @tmpstr = @tmpstr + &#039;, CHECK_EXPIRATION = &#039; + @is_expiration_checked
        END
    END
    IF (@denylogin = 1)
    BEGIN -- login is denied access
      SET @tmpstr = @tmpstr + &#039;; DENY CONNECT SQL TO &#039; + QUOTENAME( @name )
    END
    ELSE IF (@hasaccess = 0)
    BEGIN -- login exists but does not have access
      SET @tmpstr = @tmpstr + &#039;; REVOKE CONNECT SQL TO &#039; + QUOTENAME( @name )
    END
    IF (@is_disabled = 1)
    BEGIN -- login is disabled
      SET @tmpstr = @tmpstr + &#039;; ALTER LOGIN &#039; + QUOTENAME( @name ) + &#039; DISABLE&#039;
    END
    PRINT @tmpstr
  END

  FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin
   END
CLOSE login_curs
DEALLOCATE login_curs
RETURN 0
GO

----- End Script -----
EXEC master..sp_help_revlogin
GO]]></description>
		<content:encoded><![CDATA[<p>USE master<br />
GO<br />
IF OBJECT_ID (&#8216;sp_hexadecimal&#8217;) IS NOT NULL<br />
  DROP PROCEDURE sp_hexadecimal<br />
GO<br />
CREATE PROCEDURE sp_hexadecimal<br />
    @binvalue varbinary(256),<br />
    @hexvalue varchar (514) OUTPUT<br />
AS<br />
DECLARE @charvalue varchar (514)<br />
DECLARE @i int<br />
DECLARE @length int<br />
DECLARE @hexstring char(16)<br />
SELECT @charvalue = &#8217;0x&#8217;<br />
SELECT @i = 1<br />
SELECT @length = DATALENGTH (@binvalue)<br />
SELECT @hexstring = &#8217;0123456789ABCDEF&#8217;<br />
WHILE (@i &lt;= @length)<br />
BEGIN<br />
  DECLARE @tempint int<br />
  DECLARE @firstint int<br />
  DECLARE @secondint int<br />
  SELECT @tempint = CONVERT(int, SUBSTRING(@binvalue,@i,1))<br />
  SELECT @firstint = FLOOR(@tempint/16)<br />
  SELECT @secondint = @tempint &#8211; (@firstint*16)<br />
  SELECT @charvalue = @charvalue +<br />
    SUBSTRING(@hexstring, @firstint+1, 1) +<br />
    SUBSTRING(@hexstring, @secondint+1, 1)<br />
  SELECT @i = @i + 1<br />
END</p>
<p>SELECT @hexvalue = @charvalue<br />
GO</p>
<p>IF OBJECT_ID (&#039;sp_help_revlogin&#039;) IS NOT NULL<br />
  DROP PROCEDURE sp_help_revlogin<br />
GO<br />
CREATE PROCEDURE sp_help_revlogin @login_name sysname = NULL AS<br />
DECLARE @name sysname<br />
DECLARE @type varchar (1)<br />
DECLARE @hasaccess int<br />
DECLARE @denylogin int<br />
DECLARE @is_disabled int<br />
DECLARE @PWD_varbinary  varbinary (256)<br />
DECLARE @PWD_string  varchar (514)<br />
DECLARE @SID_varbinary varbinary (85)<br />
DECLARE @SID_string varchar (514)<br />
DECLARE @tmpstr  varchar (1024)<br />
DECLARE @is_policy_checked varchar (3)<br />
DECLARE @is_expiration_checked varchar (3)</p>
<p>DECLARE @defaultdb sysname</p>
<p>IF (@login_name IS NULL)<br />
  DECLARE login_curs CURSOR FOR</p>
<p>      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM<br />
sys.server_principals p LEFT JOIN sys.syslogins l<br />
      ON ( l.name = p.name ) WHERE p.type IN ( &#039;S&#039;, &#039;G&#039;, &#039;U&#039; ) AND p.name  &#8216;sa&#8217;<br />
ELSE<br />
  DECLARE login_curs CURSOR FOR</p>
<p>      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM<br />
sys.server_principals p LEFT JOIN sys.syslogins l<br />
      ON ( l.name = p.name ) WHERE p.type IN ( &#8216;S&#8217;, &#8216;G&#8217;, &#8216;U&#8217; ) AND p.name = @login_name<br />
OPEN login_curs</p>
<p>FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin<br />
IF (@@fetch_status = -1)<br />
BEGIN<br />
  PRINT &#8216;No login(s) found.&#8217;<br />
  CLOSE login_curs<br />
  DEALLOCATE login_curs<br />
  RETURN -1<br />
END<br />
SET @tmpstr = &#8216;/* sp_help_revlogin script &#8216;<br />
PRINT @tmpstr<br />
SET @tmpstr = &#8216;** Generated &#8216; + CONVERT (varchar, GETDATE()) + &#8216; on &#8216; + @@SERVERNAME + &#8216; */&#8217;<br />
PRINT @tmpstr<br />
PRINT &#8221;<br />
WHILE (@@fetch_status  -1)<br />
BEGIN<br />
  IF (@@fetch_status  -2)<br />
  BEGIN<br />
    PRINT &#8221;<br />
    SET @tmpstr = &#8216;&#8211; Login: &#8216; + @name<br />
    PRINT @tmpstr<br />
    IF (@type IN ( &#8216;G&#8217;, &#8216;U&#8217;))<br />
    BEGIN &#8212; NT authenticated account/group</p>
<p>      SET @tmpstr = &#8216;CREATE LOGIN &#8216; + QUOTENAME( @name ) + &#8216; FROM WINDOWS WITH DEFAULT_DATABASE = [' + @defaultdb + ']&#8216;<br />
    END<br />
    ELSE BEGIN &#8212; SQL Server authentication<br />
        &#8212; obtain password and sid<br />
            SET @PWD_varbinary = CAST( LOGINPROPERTY( @name, &#8216;PasswordHash&#8217; ) AS varbinary (256) )<br />
        EXEC sp_hexadecimal @PWD_varbinary, @PWD_string OUT<br />
        EXEC sp_hexadecimal @SID_varbinary,@SID_string OUT</p>
<p>        &#8212; obtain password policy state<br />
        SELECT @is_policy_checked = CASE is_policy_checked WHEN 1 THEN &#8216;ON&#8217; WHEN 0 THEN &#8216;OFF&#8217; ELSE NULL END FROM sys.sql_logins WHERE name = @name<br />
        SELECT @is_expiration_checked = CASE is_expiration_checked WHEN 1 THEN &#8216;ON&#8217; WHEN 0 THEN &#8216;OFF&#8217; ELSE NULL END FROM sys.sql_logins WHERE name = @name</p>
<p>            SET @tmpstr = &#8216;CREATE LOGIN &#8216; + QUOTENAME( @name ) + &#8216; WITH PASSWORD = &#8216; + @PWD_string + &#8216; HASHED, SID = &#8216; + @SID_string + &#8216;, DEFAULT_DATABASE = [' + @defaultdb + ']&#8216;</p>
<p>        IF ( @is_policy_checked IS NOT NULL )<br />
        BEGIN<br />
          SET @tmpstr = @tmpstr + &#8216;, CHECK_POLICY = &#8216; + @is_policy_checked<br />
        END<br />
        IF ( @is_expiration_checked IS NOT NULL )<br />
        BEGIN<br />
          SET @tmpstr = @tmpstr + &#8216;, CHECK_EXPIRATION = &#8216; + @is_expiration_checked<br />
        END<br />
    END<br />
    IF (@denylogin = 1)<br />
    BEGIN &#8212; login is denied access<br />
      SET @tmpstr = @tmpstr + &#8216;; DENY CONNECT SQL TO &#8216; + QUOTENAME( @name )<br />
    END<br />
    ELSE IF (@hasaccess = 0)<br />
    BEGIN &#8212; login exists but does not have access<br />
      SET @tmpstr = @tmpstr + &#8216;; REVOKE CONNECT SQL TO &#8216; + QUOTENAME( @name )<br />
    END<br />
    IF (@is_disabled = 1)<br />
    BEGIN &#8212; login is disabled<br />
      SET @tmpstr = @tmpstr + &#8216;; ALTER LOGIN &#8216; + QUOTENAME( @name ) + &#8216; DISABLE&#8217;<br />
    END<br />
    PRINT @tmpstr<br />
  END</p>
<p>  FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin<br />
   END<br />
CLOSE login_curs<br />
DEALLOCATE login_curs<br />
RETURN 0<br />
GO</p>
<p>&#8212;&#8211; End Script &#8212;&#8211;<br />
EXEC master..sp_help_revlogin<br />
GO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patelbdevang</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-379169</link>
		<dc:creator><![CDATA[patelbdevang]]></dc:creator>
		<pubDate>Fri, 23 Nov 2012 06:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-379169</guid>
		<description><![CDATA[Hi PinalSir,
can you please help me out with below error.

Msg 207, Level 16, State 1, Procedure sp_help_revlogin, Line 13
Invalid column name &#039;srvid&#039;.
Msg 207, Level 16, State 1, Procedure sp_help_revlogin, Line 11
Invalid column name &#039;xstatus&#039;.
Msg 207, Level 16, State 1, Procedure sp_help_revlogin, Line 19
Invalid column name &#039;srvid&#039;.
Msg 207, Level 16, State 1, Procedure sp_help_revlogin, Line 17
Invalid column name &#039;xstatus&#039;.
Msg 2812, Level 16, State 62, Line 2
Could not find stored procedure &#039;master..sp_help_revlogin&#039;.]]></description>
		<content:encoded><![CDATA[<p>Hi PinalSir,<br />
can you please help me out with below error.</p>
<p>Msg 207, Level 16, State 1, Procedure sp_help_revlogin, Line 13<br />
Invalid column name &#8216;srvid&#8217;.<br />
Msg 207, Level 16, State 1, Procedure sp_help_revlogin, Line 11<br />
Invalid column name &#8216;xstatus&#8217;.<br />
Msg 207, Level 16, State 1, Procedure sp_help_revlogin, Line 19<br />
Invalid column name &#8216;srvid&#8217;.<br />
Msg 207, Level 16, State 1, Procedure sp_help_revlogin, Line 17<br />
Invalid column name &#8216;xstatus&#8217;.<br />
Msg 2812, Level 16, State 62, Line 2<br />
Could not find stored procedure &#8216;master..sp_help_revlogin&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-377188</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 20 Nov 2012 06:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-377188</guid>
		<description><![CDATA[It should be master..syslogins]]></description>
		<content:encoded><![CDATA[<p>It should be master..syslogins</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sravan</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-374119</link>
		<dc:creator><![CDATA[sravan]]></dc:creator>
		<pubDate>Wed, 14 Nov 2012 17:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-374119</guid>
		<description><![CDATA[Hi pinal, 

Will help me to find out why i am getting above error.]]></description>
		<content:encoded><![CDATA[<p>Hi pinal, </p>
<p>Will help me to find out why i am getting above error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sravan</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-374118</link>
		<dc:creator><![CDATA[sravan]]></dc:creator>
		<pubDate>Wed, 14 Nov 2012 17:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-374118</guid>
		<description><![CDATA[Msg 208, Level 16, State 1, Procedure sp_help_revlogin, Line 11
Invalid object name &#039;master..sysxlogins&#039;.
 i got this error message when i execute this message.]]></description>
		<content:encoded><![CDATA[<p>Msg 208, Level 16, State 1, Procedure sp_help_revlogin, Line 11<br />
Invalid object name &#8216;master..sysxlogins&#8217;.<br />
 i got this error message when i execute this message.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dba</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-351999</link>
		<dc:creator><![CDATA[dba]]></dc:creator>
		<pubDate>Sat, 22 Sep 2012 04:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-351999</guid>
		<description><![CDATA[HI Pinal sir,

does the script work for SQL logins also?]]></description>
		<content:encoded><![CDATA[<p>HI Pinal sir,</p>
<p>does the script work for SQL logins also?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dba</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-351998</link>
		<dc:creator><![CDATA[dba]]></dc:creator>
		<pubDate>Sat, 22 Sep 2012 04:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-351998</guid>
		<description><![CDATA[HI Mittal,

we use mixed authentication.


will it work for windows logins+sql logins both or only windows logins?
if so how do I copy SQL logins? 

Pls help]]></description>
		<content:encoded><![CDATA[<p>HI Mittal,</p>
<p>we use mixed authentication.</p>
<p>will it work for windows logins+sql logins both or only windows logins?<br />
if so how do I copy SQL logins? </p>
<p>Pls help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: siva</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-330089</link>
		<dc:creator><![CDATA[siva]]></dc:creator>
		<pubDate>Tue, 14 Aug 2012 02:25:49 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-330089</guid>
		<description><![CDATA[Hi Pinal,

I have sync the logins from Server A to Server B on every weekend
eg: in Server A we have 20 users &amp; Logins after 7 days it will added 2 new users
i want to transer the this new users or logins with PW i m trying find the script for this but no luck do you any suggestions on this really help ful to me. 
Tx]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I have sync the logins from Server A to Server B on every weekend<br />
eg: in Server A we have 20 users &amp; Logins after 7 days it will added 2 new users<br />
i want to transer the this new users or logins with PW i m trying find the script for this but no luck do you any suggestions on this really help ful to me.<br />
Tx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sk</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-292877</link>
		<dc:creator><![CDATA[sk]]></dc:creator>
		<pubDate>Sat, 02 Jun 2012 11:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-292877</guid>
		<description><![CDATA[excellent]]></description>
		<content:encoded><![CDATA[<p>excellent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-262706</link>
		<dc:creator><![CDATA[john]]></dc:creator>
		<pubDate>Tue, 13 Mar 2012 23:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-262706</guid>
		<description><![CDATA[Do know a way to do a similar transfer with credentials?]]></description>
		<content:encoded><![CDATA[<p>Do know a way to do a similar transfer with credentials?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: R246</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-247125</link>
		<dc:creator><![CDATA[R246]]></dc:creator>
		<pubDate>Thu, 02 Feb 2012 18:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-247125</guid>
		<description><![CDATA[Hello Pinal Dave,
                          Thanks for your post. I want to migrate my &quot;Application role&quot; with password between two sql server 2008 instances. Can you please help me on this, Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hello Pinal Dave,<br />
                          Thanks for your post. I want to migrate my &#8220;Application role&#8221; with password between two sql server 2008 instances. Can you please help me on this, Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akber Alwani</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-126953</link>
		<dc:creator><![CDATA[Akber Alwani]]></dc:creator>
		<pubDate>Wed, 06 Apr 2011 07:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-126953</guid>
		<description><![CDATA[Guys,

There is another problem I found out that after running the scirpt the system is not accessible it says users does not exists what I found that it is looking now in SQL server database users name as case senstive whereas both sql 2000 (source db) and sql 2005 (target) db are configure using the same collation and locale.

But when you run the script this problem is arising like If I wanted to access the user I have to give UPPER CASE. because sql 2005 now using case sensitive users name. Password field is okay.]]></description>
		<content:encoded><![CDATA[<p>Guys,</p>
<p>There is another problem I found out that after running the scirpt the system is not accessible it says users does not exists what I found that it is looking now in SQL server database users name as case senstive whereas both sql 2000 (source db) and sql 2005 (target) db are configure using the same collation and locale.</p>
<p>But when you run the script this problem is arising like If I wanted to access the user I have to give UPPER CASE. because sql 2005 now using case sensitive users name. Password field is okay.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Trehan</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-121708</link>
		<dc:creator><![CDATA[Rahul Trehan]]></dc:creator>
		<pubDate>Thu, 03 Mar 2011 13:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-121708</guid>
		<description><![CDATA[Hi raji thanks you but i am doing that and having sql server 2005 but thats not solving the problem]]></description>
		<content:encoded><![CDATA[<p>Hi raji thanks you but i am doing that and having sql server 2005 but thats not solving the problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raji</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-121337</link>
		<dc:creator><![CDATA[raji]]></dc:creator>
		<pubDate>Tue, 01 Mar 2011 10:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-121337</guid>
		<description><![CDATA[ya it possible but u have to shrink the tempdb and log files,
and also while taking backup take compressed backup.
i will helpfull]]></description>
		<content:encoded><![CDATA[<p>ya it possible but u have to shrink the tempdb and log files,<br />
and also while taking backup take compressed backup.<br />
i will helpfull</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Trehan</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-119852</link>
		<dc:creator><![CDATA[Rahul Trehan]]></dc:creator>
		<pubDate>Mon, 21 Feb 2011 10:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-119852</guid>
		<description><![CDATA[Hi Pinal,
I am having problem that when my sql performance seems sluggish i have to restart sql server.Is there any way to free memory &amp; resources without restarting sql server?]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
I am having problem that when my sql performance seems sluggish i have to restart sql server.Is there any way to free memory &amp; resources without restarting sql server?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nishit Mittal</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-117331</link>
		<dc:creator><![CDATA[Nishit Mittal]]></dc:creator>
		<pubDate>Tue, 08 Feb 2011 17:39:39 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-117331</guid>
		<description><![CDATA[Above one for MSSQL2008]]></description>
		<content:encoded><![CDATA[<p>Above one for MSSQL2008</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nishit Mittal</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-117330</link>
		<dc:creator><![CDATA[Nishit Mittal]]></dc:creator>
		<pubDate>Tue, 08 Feb 2011 17:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-117330</guid>
		<description><![CDATA[USE master
GO
IF OBJECT_ID (&#039;sp_hexadecimal&#039;) IS NOT NULL
  DROP PROCEDURE sp_hexadecimal
GO
CREATE PROCEDURE sp_hexadecimal
    @binvalue varbinary(256),
    @hexvalue varchar (514) OUTPUT
AS
DECLARE @charvalue varchar (514)
DECLARE @i int
DECLARE @length int
DECLARE @hexstring char(16)
SELECT @charvalue = &#039;0x&#039;
SELECT @i = 1
SELECT @length = DATALENGTH (@binvalue)
SELECT @hexstring = &#039;0123456789ABCDEF&#039;
WHILE (@i &lt;= @length)
BEGIN
  DECLARE @tempint int
  DECLARE @firstint int
  DECLARE @secondint int
  SELECT @tempint = CONVERT(int, SUBSTRING(@binvalue,@i,1))
  SELECT @firstint = FLOOR(@tempint/16)
  SELECT @secondint = @tempint - (@firstint*16)
  SELECT @charvalue = @charvalue +
    SUBSTRING(@hexstring, @firstint+1, 1) +
    SUBSTRING(@hexstring, @secondint+1, 1)
  SELECT @i = @i + 1
END

SELECT @hexvalue = @charvalue
GO
 
IF OBJECT_ID (&#039;sp_help_revlogin&#039;) IS NOT NULL
  DROP PROCEDURE sp_help_revlogin
GO
CREATE PROCEDURE sp_help_revlogin @login_name sysname = NULL AS
DECLARE @name sysname
DECLARE @type varchar (1)
DECLARE @hasaccess int
DECLARE @denylogin int
DECLARE @is_disabled int
DECLARE @PWD_varbinary  varbinary (256)
DECLARE @PWD_string  varchar (514)
DECLARE @SID_varbinary varbinary (85)
DECLARE @SID_string varchar (514)
DECLARE @tmpstr  varchar (1024)
DECLARE @is_policy_checked varchar (3)
DECLARE @is_expiration_checked varchar (3)

DECLARE @defaultdb sysname
 
IF (@login_name IS NULL)
  DECLARE login_curs CURSOR FOR

      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM 
sys.server_principals p LEFT JOIN sys.syslogins l
      ON ( l.name = p.name ) WHERE p.type IN ( &#039;S&#039;, &#039;G&#039;, &#039;U&#039; ) AND p.name  &#039;sa&#039;
ELSE
  DECLARE login_curs CURSOR FOR


      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM 
sys.server_principals p LEFT JOIN sys.syslogins l
      ON ( l.name = p.name ) WHERE p.type IN ( &#039;S&#039;, &#039;G&#039;, &#039;U&#039; ) AND p.name = @login_name
OPEN login_curs

FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin
IF (@@fetch_status = -1)
BEGIN
  PRINT &#039;No login(s) found.&#039;
  CLOSE login_curs
  DEALLOCATE login_curs
  RETURN -1
END
SET @tmpstr = &#039;/* sp_help_revlogin script &#039;
PRINT @tmpstr
SET @tmpstr = &#039;** Generated &#039; + CONVERT (varchar, GETDATE()) + &#039; on &#039; + @@SERVERNAME + &#039; */&#039;
PRINT @tmpstr
PRINT &#039;&#039;
WHILE (@@fetch_status  -1)
BEGIN
  IF (@@fetch_status  -2)
  BEGIN
    PRINT &#039;&#039;
    SET @tmpstr = &#039;-- Login: &#039; + @name
    PRINT @tmpstr
    IF (@type IN ( &#039;G&#039;, &#039;U&#039;))
    BEGIN -- NT authenticated account/group

      SET @tmpstr = &#039;CREATE LOGIN &#039; + QUOTENAME( @name ) + &#039; FROM WINDOWS WITH DEFAULT_DATABASE = [&#039; + @defaultdb + &#039;]&#039;
    END
    ELSE BEGIN -- SQL Server authentication
        -- obtain password and sid
            SET @PWD_varbinary = CAST( LOGINPROPERTY( @name, &#039;PasswordHash&#039; ) AS varbinary (256) )
        EXEC sp_hexadecimal @PWD_varbinary, @PWD_string OUT
        EXEC sp_hexadecimal @SID_varbinary,@SID_string OUT
 
        -- obtain password policy state
        SELECT @is_policy_checked = CASE is_policy_checked WHEN 1 THEN &#039;ON&#039; WHEN 0 THEN &#039;OFF&#039; ELSE NULL END FROM sys.sql_logins WHERE name = @name
        SELECT @is_expiration_checked = CASE is_expiration_checked WHEN 1 THEN &#039;ON&#039; WHEN 0 THEN &#039;OFF&#039; ELSE NULL END FROM sys.sql_logins WHERE name = @name
 
            SET @tmpstr = &#039;CREATE LOGIN &#039; + QUOTENAME( @name ) + &#039; WITH PASSWORD = &#039; + @PWD_string + &#039; HASHED, SID = &#039; + @SID_string + &#039;, DEFAULT_DATABASE = [&#039; + @defaultdb + &#039;]&#039;

        IF ( @is_policy_checked IS NOT NULL )
        BEGIN
          SET @tmpstr = @tmpstr + &#039;, CHECK_POLICY = &#039; + @is_policy_checked
        END
        IF ( @is_expiration_checked IS NOT NULL )
        BEGIN
          SET @tmpstr = @tmpstr + &#039;, CHECK_EXPIRATION = &#039; + @is_expiration_checked
        END
    END
    IF (@denylogin = 1)
    BEGIN -- login is denied access
      SET @tmpstr = @tmpstr + &#039;; DENY CONNECT SQL TO &#039; + QUOTENAME( @name )
    END
    ELSE IF (@hasaccess = 0)
    BEGIN -- login exists but does not have access
      SET @tmpstr = @tmpstr + &#039;; REVOKE CONNECT SQL TO &#039; + QUOTENAME( @name )
    END
    IF (@is_disabled = 1)
    BEGIN -- login is disabled
      SET @tmpstr = @tmpstr + &#039;; ALTER LOGIN &#039; + QUOTENAME( @name ) + &#039; DISABLE&#039;
    END
    PRINT @tmpstr
  END

  FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin
   END
CLOSE login_curs
DEALLOCATE login_curs
RETURN 0
GO

EXEC sp_help_revlogin]]></description>
		<content:encoded><![CDATA[<p>USE master<br />
GO<br />
IF OBJECT_ID (&#8216;sp_hexadecimal&#8217;) IS NOT NULL<br />
  DROP PROCEDURE sp_hexadecimal<br />
GO<br />
CREATE PROCEDURE sp_hexadecimal<br />
    @binvalue varbinary(256),<br />
    @hexvalue varchar (514) OUTPUT<br />
AS<br />
DECLARE @charvalue varchar (514)<br />
DECLARE @i int<br />
DECLARE @length int<br />
DECLARE @hexstring char(16)<br />
SELECT @charvalue = &#8217;0x&#8217;<br />
SELECT @i = 1<br />
SELECT @length = DATALENGTH (@binvalue)<br />
SELECT @hexstring = &#8217;0123456789ABCDEF&#8217;<br />
WHILE (@i &lt;= @length)<br />
BEGIN<br />
  DECLARE @tempint int<br />
  DECLARE @firstint int<br />
  DECLARE @secondint int<br />
  SELECT @tempint = CONVERT(int, SUBSTRING(@binvalue,@i,1))<br />
  SELECT @firstint = FLOOR(@tempint/16)<br />
  SELECT @secondint = @tempint &#8211; (@firstint*16)<br />
  SELECT @charvalue = @charvalue +<br />
    SUBSTRING(@hexstring, @firstint+1, 1) +<br />
    SUBSTRING(@hexstring, @secondint+1, 1)<br />
  SELECT @i = @i + 1<br />
END</p>
<p>SELECT @hexvalue = @charvalue<br />
GO</p>
<p>IF OBJECT_ID (&#039;sp_help_revlogin&#039;) IS NOT NULL<br />
  DROP PROCEDURE sp_help_revlogin<br />
GO<br />
CREATE PROCEDURE sp_help_revlogin @login_name sysname = NULL AS<br />
DECLARE @name sysname<br />
DECLARE @type varchar (1)<br />
DECLARE @hasaccess int<br />
DECLARE @denylogin int<br />
DECLARE @is_disabled int<br />
DECLARE @PWD_varbinary  varbinary (256)<br />
DECLARE @PWD_string  varchar (514)<br />
DECLARE @SID_varbinary varbinary (85)<br />
DECLARE @SID_string varchar (514)<br />
DECLARE @tmpstr  varchar (1024)<br />
DECLARE @is_policy_checked varchar (3)<br />
DECLARE @is_expiration_checked varchar (3)</p>
<p>DECLARE @defaultdb sysname</p>
<p>IF (@login_name IS NULL)<br />
  DECLARE login_curs CURSOR FOR</p>
<p>      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM<br />
sys.server_principals p LEFT JOIN sys.syslogins l<br />
      ON ( l.name = p.name ) WHERE p.type IN ( &#039;S&#039;, &#039;G&#039;, &#039;U&#039; ) AND p.name  &#8216;sa&#8217;<br />
ELSE<br />
  DECLARE login_curs CURSOR FOR</p>
<p>      SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM<br />
sys.server_principals p LEFT JOIN sys.syslogins l<br />
      ON ( l.name = p.name ) WHERE p.type IN ( &#8216;S&#8217;, &#8216;G&#8217;, &#8216;U&#8217; ) AND p.name = @login_name<br />
OPEN login_curs</p>
<p>FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin<br />
IF (@@fetch_status = -1)<br />
BEGIN<br />
  PRINT &#8216;No login(s) found.&#8217;<br />
  CLOSE login_curs<br />
  DEALLOCATE login_curs<br />
  RETURN -1<br />
END<br />
SET @tmpstr = &#8216;/* sp_help_revlogin script &#8216;<br />
PRINT @tmpstr<br />
SET @tmpstr = &#8216;** Generated &#8216; + CONVERT (varchar, GETDATE()) + &#8216; on &#8216; + @@SERVERNAME + &#8216; */&#8217;<br />
PRINT @tmpstr<br />
PRINT &#8221;<br />
WHILE (@@fetch_status  -1)<br />
BEGIN<br />
  IF (@@fetch_status  -2)<br />
  BEGIN<br />
    PRINT &#8221;<br />
    SET @tmpstr = &#8216;&#8211; Login: &#8216; + @name<br />
    PRINT @tmpstr<br />
    IF (@type IN ( &#8216;G&#8217;, &#8216;U&#8217;))<br />
    BEGIN &#8212; NT authenticated account/group</p>
<p>      SET @tmpstr = &#8216;CREATE LOGIN &#8216; + QUOTENAME( @name ) + &#8216; FROM WINDOWS WITH DEFAULT_DATABASE = [' + @defaultdb + ']&#8216;<br />
    END<br />
    ELSE BEGIN &#8212; SQL Server authentication<br />
        &#8212; obtain password and sid<br />
            SET @PWD_varbinary = CAST( LOGINPROPERTY( @name, &#8216;PasswordHash&#8217; ) AS varbinary (256) )<br />
        EXEC sp_hexadecimal @PWD_varbinary, @PWD_string OUT<br />
        EXEC sp_hexadecimal @SID_varbinary,@SID_string OUT</p>
<p>        &#8212; obtain password policy state<br />
        SELECT @is_policy_checked = CASE is_policy_checked WHEN 1 THEN &#8216;ON&#8217; WHEN 0 THEN &#8216;OFF&#8217; ELSE NULL END FROM sys.sql_logins WHERE name = @name<br />
        SELECT @is_expiration_checked = CASE is_expiration_checked WHEN 1 THEN &#8216;ON&#8217; WHEN 0 THEN &#8216;OFF&#8217; ELSE NULL END FROM sys.sql_logins WHERE name = @name</p>
<p>            SET @tmpstr = &#8216;CREATE LOGIN &#8216; + QUOTENAME( @name ) + &#8216; WITH PASSWORD = &#8216; + @PWD_string + &#8216; HASHED, SID = &#8216; + @SID_string + &#8216;, DEFAULT_DATABASE = [' + @defaultdb + ']&#8216;</p>
<p>        IF ( @is_policy_checked IS NOT NULL )<br />
        BEGIN<br />
          SET @tmpstr = @tmpstr + &#8216;, CHECK_POLICY = &#8216; + @is_policy_checked<br />
        END<br />
        IF ( @is_expiration_checked IS NOT NULL )<br />
        BEGIN<br />
          SET @tmpstr = @tmpstr + &#8216;, CHECK_EXPIRATION = &#8216; + @is_expiration_checked<br />
        END<br />
    END<br />
    IF (@denylogin = 1)<br />
    BEGIN &#8212; login is denied access<br />
      SET @tmpstr = @tmpstr + &#8216;; DENY CONNECT SQL TO &#8216; + QUOTENAME( @name )<br />
    END<br />
    ELSE IF (@hasaccess = 0)<br />
    BEGIN &#8212; login exists but does not have access<br />
      SET @tmpstr = @tmpstr + &#8216;; REVOKE CONNECT SQL TO &#8216; + QUOTENAME( @name )<br />
    END<br />
    IF (@is_disabled = 1)<br />
    BEGIN &#8212; login is disabled<br />
      SET @tmpstr = @tmpstr + &#8216;; ALTER LOGIN &#8216; + QUOTENAME( @name ) + &#8216; DISABLE&#8217;<br />
    END<br />
    PRINT @tmpstr<br />
  END</p>
<p>  FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin<br />
   END<br />
CLOSE login_curs<br />
DEALLOCATE login_curs<br />
RETURN 0<br />
GO</p>
<p>EXEC sp_help_revlogin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayakrishna</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-85270</link>
		<dc:creator><![CDATA[Jayakrishna]]></dc:creator>
		<pubDate>Wed, 25 Aug 2010 21:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-85270</guid>
		<description><![CDATA[Hi Sir,

I need the best practices how to move the existing MS SQL SERVER 2008 MGMt Studio, to the SQL server 2008  Eneterprise Edition.

My existing DB is publisher DB, and they should not get disturbed and i am expecting very low Downtime of the server.

And my New server is having 36Processors 64bit and 258GB RAM i need to use all the resources in the system,

Please suggest ASAP.

Thanks alot.]]></description>
		<content:encoded><![CDATA[<p>Hi Sir,</p>
<p>I need the best practices how to move the existing MS SQL SERVER 2008 MGMt Studio, to the SQL server 2008  Eneterprise Edition.</p>
<p>My existing DB is publisher DB, and they should not get disturbed and i am expecting very low Downtime of the server.</p>
<p>And my New server is having 36Processors 64bit and 258GB RAM i need to use all the resources in the system,</p>
<p>Please suggest ASAP.</p>
<p>Thanks alot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Gagne</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-84773</link>
		<dc:creator><![CDATA[Dan Gagne]]></dc:creator>
		<pubDate>Sat, 21 Aug 2010 01:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-84773</guid>
		<description><![CDATA[Doesn&#039;t work. no such table as sysxlogins on my SQL Server 2005  SP3]]></description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work. no such table as sysxlogins on my SQL Server 2005  SP3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sathesh</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-51551</link>
		<dc:creator><![CDATA[sathesh]]></dc:creator>
		<pubDate>Tue, 05 May 2009 06:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-51551</guid>
		<description><![CDATA[Hi Pinal,

I have 1 small requirement. in production server i have around 30 logins , 50 jobs , replications and linked servers .
I want generate  scripts for all logins,jobs, replication,and linkedservers how can i generator. is there any script for generation please help me pinal.

Thanks in advance.

--Satheesh]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I have 1 small requirement. in production server i have around 30 logins , 50 jobs , replications and linked servers .<br />
I want generate  scripts for all logins,jobs, replication,and linkedservers how can i generator. is there any script for generation please help me pinal.</p>
<p>Thanks in advance.</p>
<p>&#8211;Satheesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-42656</link>
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Wed, 10 Sep 2008 19:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-42656</guid>
		<description><![CDATA[How do yo transfer logins &amp; passwords from sql 2005 to sql 2000.  
Can get it to work going forward but not backwards.  Is this even possible?]]></description>
		<content:encoded><![CDATA[<p>How do yo transfer logins &amp; passwords from sql 2005 to sql 2000.<br />
Can get it to work going forward but not backwards.  Is this even possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theresa</title>
		<link>http://blog.sqlauthority.com/2008/03/01/sql-server-transfer-the-logins-and-the-passwords-between-instances-of-sql-server-2005/#comment-42280</link>
		<dc:creator><![CDATA[Theresa]]></dc:creator>
		<pubDate>Mon, 01 Sep 2008 20:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=523#comment-42280</guid>
		<description><![CDATA[Hey Pinal Dave,

Will this work when trying to migrate logins from SQL 2005 to 2008?]]></description>
		<content:encoded><![CDATA[<p>Hey Pinal Dave,</p>
<p>Will this work when trying to migrate logins from SQL 2005 to 2008?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
