?
Solved

Named Value Pairs and storing one-to-many

Posted on 2012-03-28
3
Medium Priority
?
499 Views
Last Modified: 2016-12-08
I am using JIRA and subtasks in JIRA to be able to use a one-to-many relationship for some fields.  JIRA Is connected to an Oracle database where values are stored in Named Value Pair format.   Then a DBA will write PLSQL to place values into comlumns.  Users will use Tableau (for charts and reporting) to connect to Oracle to see the one to many relationships and add to reporting.

My question is for a DBA is it better to store the one to many values in a single column comma delimated or in rows?  Tableau uses sql and has a lot of capablilities to look at fields.  Not sure about how it looks at comma delimated though and the user will need to search on values for reporting in the one-to-many fields.
0
Comment
Question by:leezac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Expert Comment

by:johnsone
ID: 37777024
I would not delimit anything in the database.  Keep everything in separate columns.

Makes querying and indexing a lot easier and more efficient.
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 37777039
The 'R' in RDBMS stands for 'Relational'.  If you are going to store values in a delimited list, do you need a database?

Store it relationally.  If you need the delimited list, it is easily created:
http://www.oracle-base.com/articles/misc/StringAggregationTechniques.php

There is also a XML trick to create a delimited string.

I also want to suggest XML as an alternative to a delimited list.  Most tools these days can process XML.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37777241
<My question is for a DBA is it better to store the one to many values in a single column comma delimated or in rows?>
Store this data in rows, as this is standard for a one to many relationship.
ex.: One Customer, Many Orders
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

770 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