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

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.