Refer to Books Onlinesp_addloginCreates a new Microsoft® SQL Server™ login that allows a user to connect to an instance of SQL Server using SQL Server Authentication.Syntaxsp_addlogin [ @loginame = ] 'login' [ , [ @passwd = ] 'password' ] [ , [ @defdb = ] 'database' ] [ , [ @deflanguage = ] 'language' ] [ , [ @sid = ] sid ] [ , [ @encryptopt = ] 'encryption_option' ]
or use sp_help on sp_addlogin in master use mastergosp_help sp_addlogin
----------------------------------'KH'everything that has a beginning has an end