hello i am triying to add new user with code from sql server 2005 express edition
i can add to sql server 2000 the code below, but i can not add to sql server 2005 express. please help me. thank you.
exec sp_addlogin @p_user,@p_user,'mydb','English'
exec sp_adduser @p_user,@p_user
exec sp_addsrvrolemember @p_user, 'securityadmin'
exec sp_grantdbaccess @p_user