hi i want to create user. i can create user in sql 2000 with below code. but sql 2005 express there are errors.
declare @p_user varchar(20)
set @p_user='ARGECMAS'
exec sp_addlogin @p_user,@p_user,'zynp_kerimler','English'
exec sp_adduser @p_user,@p_user
exec sp_addsrvrolemember @p_user, 'securityadmin'
exec sp_grantdbaccess @p_user
the errors:
Msg 15118, Level 16, State 1, Line 1
Password validation failed. The password does not meet Windows policy requirements because it is not complex enough.
Msg 15007, Level 16, State 1, Procedure sp_adduser, Line 15
'ARGECMAS' is not a valid login or you do not have permission.
Msg 15007, Level 16, State 1, Procedure sp_addsrvrolemember, Line 68
'ARGECMAS' is not a valid login or you do not have permission.
Msg 15007, Level 16, State 1, Line 1
'ARGECMAS' is not a valid login or you do not have permission.
please help me.
declare @p_user varchar(20)
set @p_user='ARGECMAS'
exec sp_addlogin @p_user,@p_user,'zynp_kerimler','English'
exec sp_adduser @p_user,@p_user
exec sp_addsrvrolemember @p_user, 'securityadmin'
exec sp_grantdbaccess @p_user
the errors:
Msg 15118, Level 16, State 1, Line 1
Password validation failed. The password does not meet Windows policy requirements because it is not complex enough.
Msg 15007, Level 16, State 1, Procedure sp_adduser, Line 15
'ARGECMAS' is not a valid login or you do not have permission.
Msg 15007, Level 16, State 1, Procedure sp_addsrvrolemember, Line 68
'ARGECMAS' is not a valid login or you do not have permission.
Msg 15007, Level 16, State 1, Line 1
'ARGECMAS' is not a valid login or you do not have permission.
please help me.