Ask the Expert

Creating multiple SA user accounts

Is it possible for more than one SA user account can be created? How?

Requires Free Membership to View

Sure, it's possible. You can assign the 'SA' role to any user in ASE.

1> sp_addlogin mich,'london99',master
2> go
Password correctly set.
Account unlocked.
New login created.
(return status = 0)
1> sp_role 'grant', 'sa_role',mich
2> go
Authorization updated.
(return status = 0)
1> sp_addlogin mimi, 'london99',master
2> go
Password correctly set.
Account unlocked.
New login created.
(return status = 0)
1> sp_role 'grant', 'sa_role',mimi
2> go
Authorization updated.
(return status = 0)
1> sp_displaylogin mich
2> go
Suid: 3
Loginame: mich
Fullname:
Default Database: master
Default Language:
Auto Login Script:
Configured Authorization:
        sa_role (default ON)
Locked: NO
Date of Last Password Change: Jan 17 2006  2:31AM
Password expiration interval: 0
Password expired: NO
Minimum password length: 6
Maximum failed logins: 0
Current failed login attempts:
Authenticate with: ANY
(return status = 0)
1> sp_displaylogin mimi
2> go
Suid: 4
Loginame: mimi
Fullname:
Default Database: master
Default Language:
Auto Login Script:
Configured Authorization:
        sa_role (default ON)
Locked: NO
Date of Last Password Change: Jan 17 2006  2:31AM
Password expiration interval: 0
Password expired: NO
Minimum password length: 6
Maximum failed logins: 0
Current failed login attempts:
Authenticate with: ANY
(return status = 0)

This was first published in January 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: