Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: query help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01BFBBFB.D85831D0
Content-Type: text/plain;
charset="iso-8859-1"
Hi Greg
Sorry for the earlier query. Try this query:
select constraint, refdtbname "Parent Table", refscolumn "Parent Column",
name "Child Table", refdcolumn "Child Column"
from sysfkconstraints
where creator like 'SCOTT'
order by 1
Regards,
VMS
-----Original Message----- From: gfaktor_at_ecal.com [SMTP:gfaktor_at_ecal.com] Sent: Thursday, May 11, 2000 9:29 AM To: Multiple recipients of list ORACLE-L Subject: query help Hi All! I need write query to receive following info from data dictionary: ---------------------------------------------------------------------------- -------------- Constaraint_Name | Parent_Table | Parent_Column | Child_Table | Child_Column ---------------------------------------------------------------------------- -------------- for all foreign keys. Thanks. Greg. -- Author: Gregory Faktor INET: gfaktor_at_ecal.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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).
------_=_NextPart_001_01BFBBFB.D85831D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =charset=3Diso-8859-1">
<TITLE>RE: query help</TITLE> </HEAD> <BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi Greg</FONT> </P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Sorry for the earlier query. Try this =
query:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">select constraint</FONT><FONT SIZE=3D2 = FACE=3D"Arial">,</FONT> <FONT SIZE=3D2 = FACE=3D"Arial">refdtbname</FONT><FONT SIZE=3D2 FACE=3D"Arial"> "Parent = Table"</FONT><FONT SIZE=3D2 FACE=3D"Arial">, refscolumn</FONT><FONT = SIZE=3D2 FACE=3D"Arial"> "Parent Column", name "Child Table", = refdcolumn "Child Column"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">from sysfkconstraints</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">where creator like 'SCOTT'</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">order by 1</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Regards,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">VMS</FONT> </P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi All!</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">I need write query to receive = following info from data dictionary:</FONT> <BR><FONT SIZE=3D2 =
FACE=3D"Arial">---------------------------------------------------------= -------------------</FONT>
FACE=3D"Arial">---------------------------------------------------------= -------------------</FONT>
<P><FONT SIZE=3D2 FACE=3D"Arial">for all foreign keys.</FONT> </P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Greg.</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">-- </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Author: Gregory Faktor</FONT><BR><FONT SIZE=3D2 FACE=3D"Arial"> INET: gfaktor_at_ecal.com</FONT> </P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Fat City Network =
Services -- (858) 538-5051 FAX: (858) =
538-5051</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">San Diego, =
California -- Public Internet =
access / Mailing Lists</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">---------------------------------------------------------=-----------</FONT>
![]() |
![]() |