Database Administrators
Q&A for database professionals who wish to improve their database skills
Latest Questions
0
votes
1
answers
62
views
What does relational capabilities mean in Codd's Foundation rule?
From [Codd's 12 rules][1] (emphasis mine): > For any system that is advertised as, or claimed to be, a relational > data base management system, that system must be able to manage data > bases entirely through its ***relational capabilities***. What does *"relational capabilities"* mean here? Does i...
From Codd's 12 rules (emphasis mine):
> For any system that is advertised as, or claimed to be, a relational
> data base management system, that system must be able to manage data
> bases entirely through its ***relational capabilities***.
What does *"relational capabilities"* mean here? Does it mean that you could manage the database by only using a language like SQL? Does it mean anything beyond this?
Mehdi Charife
(131 rep)
May 16, 2023, 05:10 PM
• Last activity: May 18, 2023, 11:29 PM
1
votes
2
answers
3583
views
RDBMS: Proper way to store data - comma separated variables or in different fields or tables?
Fundamental question that I cannot seem to find an answer on. I have a database that stores line items from receipts along with the username and receipt number. Right now the `lineItem` column is just a long string of data separated by commas (original file appears to have been just an Excel file)....
Fundamental question that I cannot seem to find an answer on. I have a database that stores line items from receipts along with the username and receipt number.
Right now the
lineItem
column is just a long string of data separated by commas (original file appears to have been just an Excel file). This information is parsed in a PHP script for viewing on the front end.
The table looks like this:
|----------|----------|----------|
|lineItem |receiptID |customerID|
|----------|----------|----------|
|CD, DVD, |001 |User01 |
|----------|----------|----------|
|CD, CD, |002 |User02 |
|DVD, usb, | | |
|----------|----------|----------|
Ultimately, **is this bad practice**? Should the lineItem
values be linked to related values in another table instead maybe?
Bunny
(113 rep)
Jun 9, 2020, 07:32 PM
• Last activity: Jan 5, 2022, 09:44 AM
3
votes
2
answers
266
views
Why does metadata have to stored in table cells according to Codd's 12 rules
Among [Codd's 12 rules][1] for Relational Database Management Systems is Rule 1, which states the following: > **Rule 1**: Information rule > > All information(including metadata) is to be > represented as stored data in cells of tables. The rows and columns > have to be strictly unordered. Why is i...
Among Codd's 12 rules for Relational Database Management Systems is Rule 1, which states the following:
> **Rule 1**: Information rule
>
> All information(including metadata) is to be
> represented as stored data in cells of tables. The rows and columns
> have to be strictly unordered.
Why is it important that metadata be stored in tables?
Anis LOUNIS aka AnixPasBesoin
(133 rep)
Mar 23, 2021, 08:53 PM
• Last activity: Mar 26, 2021, 09:31 AM
Showing page 1 of 3 total questions