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 Requires one of:
  • DBA authority.
  • PERMS ADMIN authority.
  • You own the sequence generator.
SAP Sybase IQ 16.0 Requires 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 Administration Console, expand IQ Servers > Schema Objects > 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.
  7. Click Next.
  8. 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.
  9. Click Next.
  10. On the Permissions page, ensure Usage is selected.
  11. Click Finish.
  12. Click OK.
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