Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Data specs of columns
Bob,
Take a look at tables like user_constraints and user_cons_columns - the
constraint_type column would
definitely tell you whether it is a primary or foreign key, I am not sure
about computed.
HTH
Sumathy
-----Original Message-----
Sent: Friday, November 15, 2002 11:59 AM
To: Multiple recipients of list ORACLE-L
I have a request from a developer to determine if a column is computed,
has a primary key
has a foreign key.
Im looking through the dictionary tables eg user_tab_columns but these firlds seem to be elusive.
Any ideas what views to querry ?
Many thanks
bob
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Bob Metelsky
INET: bmetelsky_at_cps92.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Nov 15 2002 - 11:49:08 CST