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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: query help

RE: query help

From: Vipul Mukund Shah <vipul.shah_at_almarai.com>
Date: Fri, 12 May 2000 13:21:31 +0300
Message-Id: <10495.105471@fatcity.com>


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">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2650.12">
<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>

<UL>
<P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original = Message-----</FONT></A>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:&nbsp;&nbsp; gfaktor_at_ecal.com = [SMTP:gfaktor_at_ecal.com]</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT = SIZE=3D2 FACE=3D"Arial">Thursday, May 11, 2000 9:29 AM</FONT> <BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 = FACE=3D"Arial">Multiple recipients of list ORACLE-L</FONT> <BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>= </B> <FONT SIZE=3D2 FACE=3D"Arial">query help</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>

<BR><FONT SIZE=3D2 FACE=3D"Arial">--------------</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Constaraint_Name&nbsp;&nbsp; | = Parent_Table&nbsp; |&nbsp;&nbsp; Parent_Column&nbsp;&nbsp;&nbsp; = |&nbsp;&nbsp; Child_Table |</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Child_Column</FONT> <BR><FONT SIZE=3D2 =
FACE=3D"Arial">---------------------------------------------------------=
-------------------</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">--------------</FONT> </P>

<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">&nbsp; INET: gfaktor_at_ecal.com</FONT> </P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Fat City Network = Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) = 538-5051</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">San Diego, = California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet = access / Mailing Lists</FONT>
<BR><FONT SIZE=3D2 =

FACE=3D"Arial">---------------------------------------------------------=
-----------</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">To REMOVE yourself from this mailing = list, send an E-Mail message</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">to: ListGuru_at_fatcity.com (note EXACT = spelling of 'ListGuru') and in</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the message BODY, include a line = containing: UNSUB ORACLE-L</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(or the name of mailing list you want = to be removed from).&nbsp; You may</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">also send the HELP command for other = Received on Fri May 12 2000 - 05:21:31 CDT

Original text of this message

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