Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2012
    Posts
    15

    understanding output of "describe indexes show detail"

    I have run the below command :

    Code:
    describe indexes for table PSEW.PS_TGT_F_GFB show detail
    and the "Column names" as in the result are

    Code:
    +SETID+LOCATION-EFFDT
    Little confused what the '+' and '-' indicate.


    Please help.

    Thanks
    Last edited by zulfi123786; 12-26-12 at 14:30.

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    Run db2look and compare the index DDL to your output to see if you can figure it out.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,460
    Quote Originally Posted by zulfi123786 View Post
    what the '+' and '-' indicate.
    Sort order for a particular column, may be?
    ---
    "It does not work" is not a valid problem statement.

  4. #4
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,361
    I believe n_i is correct: '+' for ascending and '-' for descending.

Posting Permissions

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