Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Use SQL to get references(foreign keys)

Use SQL to get references(foreign keys)

From: <code_1_at_my-deja.com>
Date: 2000/05/16
Message-ID: <8fsk6m$aj8$1@nnrp1.deja.com>#1/1

I have a field for which I need to check which field in which table it references. I am basically after "Field REFERENCES tablename.fieldname." How do I do this in SQL (Oracle for Windows95)? The sp_help procedures don't work and the user_constraints table returns no records when queried.

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue May 16 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US