primary keys for OM tables [message #643244] |
Thu, 01 October 2015 10:54 |
|
oracle2k15
Messages: 3 Registered: September 2015 Location: Atlanta
|
Junior Member |
|
|
Hi,
The below query returns only check type constraints.
How do we get the primary keys?
SELECT * FROM ALL_CONSTRAINTS WHERE TABLE_NAME='OE_ORDER_HEADERS_ALL'
Can you please advise?
Thanks,
Jaya
|
|
|
|
|
|
Re: primary keys for OM tables [message #643261 is a reply to message #643244] |
Fri, 02 October 2015 01:03 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
oracle2k15 wrote on Thu, 01 October 2015 16:54Hi,
The below query returns only check type constraints.
How do we get the primary keys?
SELECT * FROM ALL_CONSTRAINTS WHERE TABLE_NAME='OE_ORDER_HEADERS_ALL'
Can you please advise?
Thanks,
Jaya
I usually to to the Electronic Technical Reference Manual for this sort of thing, on etrm.oracle.com
Attached - all the keys on that table.
|
|
|