Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009

    Unanswered: Permission for sequence

    Hi Experts,

    How can i grant permission to sequences from control center?

    Now i am using script to achieve the same which is a tedious task as i have write the GRANT USAGE ON SEQUENCE sequence_name TO user; for all sequences.We aer using more than 200 sequences.

    Please Help


  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    all info can be retrieved from catalogs
    a simple query like select 'grant usage on sequence '||seqname.... from sysibm.syssequences
    would generate these statements for you
    have a look at this table
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5-V11 Fundamentals- DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

  3. #3
    Join Date
    Jan 2009
    Thanks Guy Przytula,

    Is there any way to achieve the same from control center?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts