realbasic-nug.it
[Top] [All Lists]

Re: Creare blocchi dati (matrice)

To: REALbasic NUG Italian <realbasic-nug.it@lists.realsoftware.com>
Subject: Re: Creare blocchi dati (matrice)
From: Roberto Tremonti <roberto.tremonti@omnidea.it>
Date: Wed, 17 Jun 2009 18:17:50 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug.it-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug.it-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <26d1d61d0906170909m28f7423frb91805713a0855e1@mail.gmail.com>
References: <43CED101-96AC-4D48-98D9-3D436E7D0333@libero.it> <9D75F545-53A4-4BB4-8868-EE0972832523@clonwerk.it> <954268E9-4F19-472D-B4C6-0E586E015EEB@libero.it> <88D70331-4227-40FB-8F08-5B4472817496@clonwerk.it> <26d1d61d0906170909m28f7423frb91805713a0855e1@mail.gmail.com>
Reply-to: REALbasic NUG Italian <realbasic-nug.it@lists.realsoftware.com>
Sender: realbasic-nug.it-bounces@lists.realsoftware.com
E perchè fare 3 tabelle quando ne bastano 2?
Se la relazione tra anagrafica ed appuntamenti non è molti a molti, la terza tabella non serve.
Basta aggiungere l'id dell'anagrafica nella tabella degli appuntamenti.
La query risulta più semplice.

-- Roberto Tremonti

omnidea srl
via delle industrie, 15
Edificio Pegaso
Parco Scientifico Tecnologico VEGA
30175 Venezia Marghera

Tel +39 041 509 3441
Fax +39 041 509 3641

www.omnidea.it

On 17/giu/2009, at 18.09, Massimo Lista <massimo.lista@gmail.com> wrote:

Ma perchè vuoi ricorrere ad una matrice.
Io farei tre tabelle separate.
tbl_Anagrafica : IDAnagrafica - Nome - Cognome
tbl_Appuntamenti : IDAppuntamento - Data - Ora - ecc.
DettaglioAnagraficaAppuntamento: IDAnagrafica - IDAppuntamento



<Prev in Thread] Current Thread [Next in Thread>