I need help to create a database for telecom circuits. I’m not sure of how to approach it. Here’s a brief description of what I need to create. Each circuit has a point A and a point B. The ports for each site would be either originate (ORG) or answer (ANS). The equipment used at point A and B is the same. For example, Site A Node, Card, Port (ORG) -- Site B Node, Card, Port (ANS). What would be the most efficient way to create table(s) for this? I've tried making one table with columns such as SiteA_Node, SiteA_Card, SiteA_port, SiteB_Node, SiteB_card, SiteB port. I've simplified it here, but when I made this I had something like 20 columns for Site A and 20 columns for site B. But this creates a huge table with basically duplicate columns. And the queries don’t quite come out right. I've also tried creating a table like this: Site, Node, Card, Port, ORG/ANS; and just enter each end into its own row. But then I'm not sure how to combine the two rows to create an end-to-end circuit (which would be necessary for a report or display form), and make sure that I'm combining the correct data for Site A and Site B. Any help on this would be greatly appreciated. Thanks in advance.
2 1239 MMcCarthy 14,534
Recognized Expert Moderator MVP
See if the following structure solves your problem. The assumption made is that no two Nodes are the same. tblCircuit
CircuitID (Primary Key)
CircuitName
SiteANode (foreign key referencing primary key of tblNodes)
SiteBNode (foreign key referencing primary key of tblNodes) tblNodes
Node (Primary Key)
Card
Port
ORG/ANS
See if the following structure solves your problem. The assumption made is that no two Nodes are the same. tblCircuit
CircuitID (Primary Key)
CircuitName
SiteANode (foreign key referencing primary key of tblNodes)
SiteBNode (foreign key referencing primary key of tblNodes) tblNodes
Node (Primary Key)
Card
Port
ORG/ANS
Thanks, I'll try it. You're assumption is correct about no two nodes being the same.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: David Bradbury |
last post by:
I currently have an iframe on a webpage into which users can insert
content. They can further customise the text as I've included buttons
such as Bold, Italic, Bullet point etc. This is done along the lines
of
<td><div class="cbtn" onClick="cmdExec('bold',idContent)"
onmouseover="button_over(this);" onmouseout="button_out(this);"...
|
by: Nanda |
last post by:
hi,
I am trying to generate parameters for the updatecommand
at runtime.
this.oleDbDeleteCommand1.CommandText=cmdtext;
this.oleDbDeleteCommand1.Connection =this.oleDbConnection1;
this.oleDbDeleteCommand1.Parameters.Add(new
System.Data.OleDb.OleDbParameter("Original_ApplicantName",
dataset.Tables.Columns.DataType, 50,
|
by: Kiran |
last post by:
Hi,
I want to back up my data in some table in SQL server and import it back
using Bulk Load of SQL server 2K.
I can use the following code to backup the data in XML
dataset.WriteXml(@"C:\Data.xml");
dataset.WriteXmlSchema(@"C:\Schema1.xml");
|
by: Mats Lycken |
last post by:
Hi,
I'm creating a CMS that I would like to be plug-in based with different
plugins handling different kinds of content.
What I really want is to be able to load/unload plugins on the fly
without restarting the application.
What I did was to create an AppDomain that loaded the plugins and
everything was great, until I tried to pass...
|
by: patrickkellogg |
last post by:
I have this code when you click the buttom is suppose to add a job
history. it works with firefox, opera, but not ie. (please note -
new entries don't have all the elements in them yet, but enough to get
the idea).
Here is the code:
-----------------------------------------------------------------
<html>
| |
by: DaveD |
last post by:
OK, this may be simple, but...
I have a 5 classes, they all bring up a form to edit a table, and
they're all derivied from a virtual class. The user is allowed to pick
a table to edit from a drop-down list that was populated from a SQL
table, this table also contains the name of the class that is used to
edit it. Can I use 1 new statment to...
|
by: CanFlightSim |
last post by:
I am not very strong in databases, so you must forgive any obvious
stupidity.
After having a good look at our Sales Managemend database, we decided
there is something basially wrong.
Our Agents sell financials to only a few customers. The database was
set up as...
Table Table (Join)
Table
Agent (AgentID ) ...
|
by: idsanjeev |
last post by:
<%@ Language =vbscript%>
<% Option Explicit %>
<html>
<head><TITLE>VOICE OF BARAUNIANS</TITLE></head>
<body>
<!--#include file="front.inc"-->
<div style="Position:Absolute; width:700; TOP:0; left:180; background-color:#f0f0f0">
<%
Dim conn
dim objrs
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |