|
-
Select child records
Hi All,
I have a table called TableA (Field1,Field2,Field3)
and Field1 is the unique key (Primary Key) it used in several other tables as Forigen Key. Is there any way i could select all the records which are related to Field1 of TableA.
I don't want to write select statements for each child table.
Please If any one knows help me
Thanks,
Kiru
-
You have to write a select statement, or statements, that include all those child tables. However you can use the system view user_tab_constraints to identify those tables.
-
Sorry, user_constraints, not user_tab_constraints. Only been awake 30 mins.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|