Re: The joy of SQL

Liste des GroupesRevenir à ol misc 
Sujet : Re: The joy of SQL
De : 186283 (at) *nospam* ud0s4.net (186282@ud0s4.net)
Groupes : comp.os.linux.misc
Date : 05. Nov 2024, 07:54:56
Autres entêtes
Organisation : wokiesux
Message-ID : <pJScnYa_tafcXLT6nZ2dnZfqn_SdnZ2d@earthlink.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
On 11/4/24 5:09 PM, Lawrence D'Oliveiro wrote:
On Sun, 3 Nov 2024 20:36:29 -0500, 186282@ud0s4.net wrote:
 
On 11/3/24 6:30 PM, Lawrence D'Oliveiro wrote:
On Sat, 2 Nov 2024 21:48:47 -0400, 186282@ud0s4.net wrote:
>
MV = Multi-Valued = Data fields that can hold long lists of that KIND
of information. If you have a fleet-tracking DB then there'd be ONE
field saying "mileage" and likely another for "fuel-added" and they'd
just be added-to over time.
>
The record for that vehicle is read all-at-once, rather than there
being dozens, hundreds, of records for said vehicle every time it was
fueled-up.
>
This is why you have joins: so that you can retrieve multiple related
records with a single query. This is the proper relational way of doing
it.
>
Why join when the MV approach keeps yer data in an already-joined
state ???
 Because the MV approach makes that hard to maintain.
   Never noticed that ...
   Everything always in nice structure/order and
   all-together. Nirvana.

Python, and to some extent FORTRAN, have very good string
list-manipulation/reading/writing/insertion/deletion capabilities ...
it'd be fairly easy to set up a MV DB in those languages.
 Python is quite good at SQL database manipulations. This include
setting up complicated joins.
   But why would you want to use SQL ? Insane  :-)

I have some basic tutorials here
<https://gitlab.com/ldo/python_topics_notebooks/-/blob/master/Databases,%20Iterators%20&%20Looping.ipynb?ref_type=heads>
 
The old PICK-ish DB I spent a decade with used pure ASCII-delimited
fields (this was pre-unicode, you could bring 'em up in a text editor
and see all the old IBM-BIOS high-ascii symbols).
 I know, it was crap. Probably scarred you for life, which is why you
think the way you do.
   LOVED those little IBM chars. That they buried them SO
   deep in the unicode codex suggests deliberate bias.
   Anyway, clearly, our religions are never gonna be
   in-sync here.
   You CAN download OpenQM if you want, see how the MV
   approach can be useful. Having used both, and seeing
   flat-file forced down everyone's throats, I'm gonna
   stick with my belief MV has a slight edge and is
   more sane and 'organic'.

Date Sujet#  Auteur
4 Nov 24 * Re: The joy of SQL7Lawrence D'Oliveiro
4 Nov 24 `* Re: The joy of SQL6186282@ud0s4.net
4 Nov 24  `* Re: The joy of SQL5Lawrence D'Oliveiro
5 Nov 24   `* Re: The joy of SQL4186282@ud0s4.net
6 Nov 24    `* Re: The joy of SQL3Lawrence D'Oliveiro
7 Nov 24     `* Re: The joy of SQL2186282@ud0s4.net
7 Nov 24      `- Re: The joy of SQL1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal