Solved

many to many relationship

Posted on 2015-02-06
2
120 Views
Last Modified: 2015-02-09
Hi,
I have three table designed like following:
tab1 <= many-to-may => tab2
tab2 <= many-to-may => tab3.

I know if I have many-to-many relationship between two table, I need a cross (association) table between them.
but, can I have one cross table between the above described three tables?

thanks.
0
Comment
Question by:CCVOIP
2 Comments
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 40594662
You need two cross-reference tables.
0
 
LVL 10

Accepted Solution

by:
HuaMinChen earned 500 total points
ID: 40594907
It will make a mess if you only use one cross table. It can be possible but there would be extra work to check/confirm if the record is for which relationship.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle RAC 12c 8 72
Problems using Provider=OraOLEDB.Oracle via VBScript/Classic ASP 5 66
Web Service from a stored procdure oracle 10 54
run sql script from putty 4 35
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question