Granting Sequence Generator USAGE Permission

Grant sequence generator usage permission to users and roles.

Prerequisites
Database Version Database Object Privileges
SAP Sybase IQ 15.3 and 15.4 You must have one of:
  • DBA authority
  • PERMS ADMIN authority
  • You own the sequence generator
SAP Sybase IQ 16.0 You must have one of:
  • MANAGE ANY OBJECT PRIVILEGE system privilege
  • You own the sequence generator
Task
  1. In the Perspective Resources view, select the resource, and select Resource > Administration Console.
  2. In the left pane, expand IQ Servers > Schema Objects, and then select Sequence Generators.
  3. Select a sequence generator from the right pane and either:
    • Click the arrow to the right of the name and select Properties, or
    • From the Administration Console menu bar, select Resource > Properties.
    The Sequence Generator Properties view appears.
  4. In the left pane, click Permissions.
  5. In the right pane, click Grant.
    The Grant Permission Wizard appears.
  6. On the Welcome page, indicate whether the permission is being granted to a user or role. Click Next.
  7. On the Grantees page, select one or more users or roles. Click the box in the header row to select all available users or roles. Click Next.
  8. On the Permissions page, ensure Usage is selected.
  9. Click Finish to close the permissions wizard.
  10. Do one of:
    • Click OK to update any changes to the database and exit the properties view.
    • Click Apply to update any changes to the database, but remain in the properties view.
    • Click Cancel to cancel any changes not updated to the database and exit the properties view.
Related tasks
Creating a Sequence Generator
Deleting a Sequence Generator
Restarting a Sequence at Start Value
Generating Sequence Generator DDL Command
Viewing or Modifying Sequence Generator Properties
Revoking Sequence Generator USAGE Permission
Authenticating a Login Account for a Managed Resource
Related reference
Sequence Generator Privilege Summary