IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Unique rule in Sysibm.sysindexes


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Any JCL or VSAM Utility to get number... JCL & VSAM 1
No new posts Discrepancy b/w SYSIBM tables and BMC... DB2 0
No new posts SYSIBM Tables Query DB2 8
No new posts Column names in SYSIBM tables DB2 5
No new posts Can we Insert duplicates in Primary U... DB2 2
Search our Forums:

Back to Top