Scripting out SQL Server Logins

/* Object: UserDefinedFunction [dbo].[fn_hexadecimal] **/ SET ANSI_NULLS ON GO

SET QUOTED_IDENTIFIER ON GO


This is a companion discussion topic for the original entry at http://billg.sqlteam.com/2010/07/08/scripting-out-sql-server-logins/