You can create new users in both Sybase Central and Interactive SQL. In Sybase Central, you manage users or groups in the Users & Groups folder. In Interactive SQL, you can add a new user using the CREATE USER statement. For both tools, you need DBA authority to create new users.
All new users are automatically added to the PUBLIC group. Once you have created a new user, you can:
By default, the permissions assigned to new users include:
To access tables in the database, new users need to be assigned permissions.
A user with DBA authority can set the permissions granted automatically to new users by assigning permissions to the special PUBLIC user group. See Special groups.
User IDs cannot:
Passwords are case sensitive and they cannot:
See Setting a password.
To create a new user (Sybase Central)
Connect to the database as a user with DBA authority.
Right-click Users & Groups and then choose New » User.
The Create User Wizard appears.
Follow the instructions in the wizard.
To create a new user (SQL)
Connect to the database as a user with DBA authority.
Execute a CREATE USER statement.
This example adds a new user to the database with the user ID of M_Haneef and a password of Welcome.
CREATE USER M_Haneef IDENTIFIED BY Welcome; |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |