Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Unique rule in Sysibm.sysindexes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Sarumathi

New User


Joined: 10 Aug 2006
Posts: 4
Location: India

PostPosted: Mon Jan 08, 2007 10:37 pm    Post subject: Unique rule in Sysibm.sysindexes
Reply with quote

Hi,

Can anyone explain me what is unique rule and what are the various possible values in SYSIBM.SYSINDEXES?

Thanks,
P.S
Back to top
View user's profile Send private message

Garpen

New User


Joined: 03 Jan 2007
Posts: 14
Location: Sweden

PostPosted: Mon Jan 15, 2007 5:34 pm    Post subject: Re: Unique rule in Sysibm.sysindexes
Reply with quote

Whether the index is unique:

D No (duplicates are allowed)
U Yes
P Yes, and it is a primary index (As in prior releases of DB2, a value of P is used for primary keys that are used to enforce a referential constraint.)
C Yes, and it is an index used to enforce UNIQUE constraint
N Yes, and it is defined with UNIQUE WHERE NOT NULL
R Yes, and it is an index used to enforce the uniqueness of a non-primary parent key
G Yes, and it is an index used to enforce the uniqueness of values in a column defined as ROWID GENERATED BY DEFAULT.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ERM-Diagram of SysIBM-Catalog-Tables Auryn DB2 2 Fri Feb 17, 2017 6:22 pm
No new posts Business Rule extraction frozenblood CLIST & REXX 9 Tue Dec 27, 2016 10:06 am
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts Unique sort situation.... dbecker SYNCSORT 6 Wed Apr 27, 2016 8:53 pm
No new posts Unique Record Count anandhan87 DFSORT/ICETOOL 1 Tue Feb 09, 2016 4:06 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us