POV-Ray : Newsgroups : povray.off-topic : Where is Gail when you need her? Server Time
31 Oct 2024 12:18:51 EDT (-0400)
  Where is Gail when you need her? (Message 1 to 10 of 23)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Doctor John
Subject: Where is Gail when you need her?
Date: 5 Jan 2014 15:25:40
Message: <52c9bfc4@news.povray.org>
I am, as I have said several times to Stephen, not a database person.
However, I seem to have got lumbered with a (non-paying) job; to whit,
the design of a database to document 13th and 14th century bank
transactions using their surviving ledgers.

Originally, I thought a flat file would be sufficient but the more I
think about it the more I'm convinced I was wrong. I attach a very small
png that shows my current thinking.

To explain: each banking family (Gallerani, Borromei etc) has several
branches (London, Paris, Bruges ...). Each branch has several ledgers
(numbered by series) and every ledger contains several hundred items
containing details of transactions. Transaction1 is the initial approach
by the Actor to the branch and Transaction2 is the future outcome
(either payment to the same or a different actor and at the same or a
different bank/branch).

Ignoring the complexities of writing the code to view, manipulate and
play with the database, does this look sane to you? (BTW Solid lines
indicate Identifying Relationships and broken lines in Non-Identifying
Relationships)

John
-- 
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children


Post a reply to this message


Attachments:
Download 'banks.png' (65 KB)

Preview of image 'banks.png'
banks.png


 

From: Stephen
Subject: Re: Where is Gail when you need her?
Date: 5 Jan 2014 16:03:43
Message: <52c9c8af$1@news.povray.org>
On 05/01/2014 8:25 PM, Doctor John wrote:
> I am, as I have said several times to Stephen, not a database person

And he said "What's a database?" :-)

-- 
Regards
     Stephen


Post a reply to this message

From: Orchid Win7 v1
Subject: Re: Where is Gail when you need her?
Date: 5 Jan 2014 16:18:10
Message: <52c9cc12$1@news.povray.org>
On 05/01/2014 08:25 PM, Doctor John wrote:

> does this look sane to you?

My database design lecturer would be complaining about ACTORS being 
plural while everything else is singular. Myself, I'm a little bit 
puzzled about the purpose of TRANSACTION1 and TRANSACTION2...


Post a reply to this message

From: Doctor John
Subject: Re: Where is Gail when you need her?
Date: 5 Jan 2014 16:18:24
Message: <52c9cc20$1@news.povray.org>
On 05/01/14 21:03, Stephen wrote:
> On 05/01/2014 8:25 PM, Doctor John wrote:
>> I am, as I have said several times to Stephen, not a database person
> 
> And he said "What's a database?" :-)
> 

Ah, but when I said 'Would you like a whisky?' you queried the
distillery, the year, the barrels it was aged in, the name of the
blender's younger daughter etc etc. :-D

BTW What's SAP ;-)

John
-- 
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children


Post a reply to this message

From: Doctor John
Subject: Re: Where is Gail when you need her?
Date: 5 Jan 2014 16:27:33
Message: <52c9ce45@news.povray.org>
On 05/01/14 21:18, Orchid Win7 v1 wrote:
> On 05/01/2014 08:25 PM, Doctor John wrote:
> 
>> does this look sane to you?
> 
> My database design lecturer would be complaining about ACTORS being
> plural while everything else is singular. Myself, I'm a little bit
> puzzled about the purpose of TRANSACTION1 and TRANSACTION2...

TRANSACTION1 is the initial payment to the bank. TRANSACTION2 is a later
payment by a bank* to an actor; it therefore requires a different date
(usually but not always specified) as well as a way of specifying where
it will be enacted.

*It appears that  there was some degree of trust between banking
families so that the Gallerani (say) would pay out on behalf of the
Borromei.

Incidentally, the IsChurch boolean is purely there to make it easier to
isolate Vatican transactions.

John
-- 
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children


Post a reply to this message

From: Doctor John
Subject: Re: Where is Gail when you need her?
Date: 5 Jan 2014 16:38:38
Message: <52c9d0de$1@news.povray.org>
On 05/01/14 21:18, Orchid Win7 v1 wrote:
> On 05/01/2014 08:25 PM, Doctor John wrote:
> 
>> does this look sane to you?
> 
> My database design lecturer would be complaining about ACTORS being
> plural while everything else is singular. Myself, I'm a little bit
> puzzled about the purpose of TRANSACTION1 and TRANSACTION2...

Additional, TRANSACTION2 may not exist in every case which may imply
that the bank keeps the money. 'Plus ca change, plus ca la meme chose'

John
-- 
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children


Post a reply to this message

From: Le Forgeron
Subject: Re: Where is Gail when you need her?
Date: 5 Jan 2014 17:02:01
Message: <52c9d659$1@news.povray.org>
Le 05/01/2014 22:27, Doctor John nous fit lire :
> TRANSACTION1 is the initial payment to the bank. TRANSACTION2 is a later
> payment by a bank* to an actor; it therefore requires a different date
> (usually but not always specified) as well as a way of specifying where
> it will be enacted.

So, what about calling T1 as Credit/Credence, and T2 as Debit/Restitution.


Post a reply to this message

From: Doctor John
Subject: Re: Where is Gail when you need her?
Date: 5 Jan 2014 17:10:03
Message: <52c9d83b@news.povray.org>
On 05/01/14 22:02, Le_Forgeron wrote:
> Le 05/01/2014 22:27, Doctor John nous fit lire :
>> TRANSACTION1 is the initial payment to the bank. TRANSACTION2 is a later
>> payment by a bank* to an actor; it therefore requires a different date
>> (usually but not always specified) as well as a way of specifying where
>> it will be enacted.
> 
> So, what about calling T1 as Credit/Credence, and T2 as Debit/Restitution.
> 

But that's just nitpicking. The planned views do not have to be named
after the tables.

I still ask though, regardless of names, does it look sane?

BTW Andrew, your lecturer was a pathetic pedant

John
-- 
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children


Post a reply to this message

From: Doctor John
Subject: Re: Where is Gail when you need her?
Date: 5 Jan 2014 17:15:12
Message: <52c9d970$1@news.povray.org>
On 05/01/14 22:02, Le_Forgeron wrote:
> Le 05/01/2014 22:27, Doctor John nous fit lire :
>> TRANSACTION1 is the initial payment to the bank. TRANSACTION2 is a later
>> payment by a bank* to an actor; it therefore requires a different date
>> (usually but not always specified) as well as a way of specifying where
>> it will be enacted.
> 
> So, what about calling T1 as Credit/Credence, and T2 as Debit/Restitution.
> 
The other problem is it may be to a different actor at a different bank.

John
-- 
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children


Post a reply to this message

From: Stephen
Subject: Re: Where is Gail when you need her?
Date: 5 Jan 2014 18:32:37
Message: <52c9eb95$1@news.povray.org>
On 05/01/2014 9:18 PM, Doctor John wrote:
> On 05/01/14 21:03, Stephen wrote:
>> On 05/01/2014 8:25 PM, Doctor John wrote:
>>> I am, as I have said several times to Stephen, not a database person
>>
>> And he said "What's a database?" :-)
>>
>
> Ah, but when I said 'Would you like a whisky?' you queried the
> distillery, the year, the barrels it was aged in,

No. It was you that did that. I drink Grouse. </Hint>

  the name of the
> blender's younger daughter etc etc. :-D
>

Might have been, might have been.


> BTW What's SAP ;-)
>

A distant memory. They say it rises in the spring. ;-)


-- 
Regards
     Stephen


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.