Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Basi di dati ~ informatica triennale > [Castano]Secondo Compitino 10/01/2006
Pages (9): « 1 2 3 [4] 5 6 7 8 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Simbios
Pig G0D

User info:
Registered: Oct 2006
Posts: 1933 (0.28 al dì)
Location: corsico
Corso: persona seria
Anno: fuori da due anni
Time Online: 67 Days, 9:28:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by desrob
..-ma avete x caso idea di come si faccia l'esecizio che kiede di specificare i vincoli di integrità:
- NON è POSSIBILE CANCELLARE UN MEDICO SE ESISTONO CURE DA LUI EFFETTUATE...

...si risolve con un TRIGGER???
...kosa va messo nella clausola WHEN ????


!!! HELP ME !!!


prova con vnc!

__________________
http://www.voglioscendere.ilcannocchiale.it/

Governare gli italiani non è impossibile, è inutile. (G.Giolitti)

08-01-2006 13:30
Click Here to See the Profile for Simbios Click Here to See the Blog of Simbios Click here to Send Simbios a Private Message Find more posts by Simbios Add Simbios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gusher
Splinter fun club

User info:
Registered: Jan 2003
Posts: 475 (0.06 al dì)
Location: Ovunque
Corso: Informatica
Anno: Done
Time Online: 15 Days, 22:06:15 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by SIMBIOS
prova con vnc!



:lol:

08-01-2006 13:40
Click Here to See the Profile for Gusher Click Here to See the Blog of Gusher Click here to Send Gusher a Private Message Find more posts by Gusher Add Gusher to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
desrob
.fedelissimo.

User info:
Registered: May 2004
Posts: 55 (0.01 al dì)
Location:
Corso: informatica
Anno: terzo
Time Online: 1 Day, 6:49:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

...io POSSO !!!

08-01-2006 17:32
Click Here to See the Profile for desrob Click here to Send desrob a Private Message Find more posts by desrob Add desrob to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gusher
Splinter fun club

User info:
Registered: Jan 2003
Posts: 475 (0.06 al dì)
Location: Ovunque
Corso: Informatica
Anno: Done
Time Online: 15 Days, 22:06:15 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by desrob
...io POSSO anche se prima o poi mi DARAI un sacco di schiaffi !!!


vero!

08-01-2006 17:57
Click Here to See the Profile for Gusher Click Here to See the Blog of Gusher Click here to Send Gusher a Private Message Find more posts by Gusher Add Gusher to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Simbios
Pig G0D

User info:
Registered: Oct 2006
Posts: 1933 (0.28 al dì)
Location: corsico
Corso: persona seria
Anno: fuori da due anni
Time Online: 67 Days, 9:28:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma che schiaffi devono dare sminchietto e l'altro !!!!

__________________
http://www.voglioscendere.ilcannocchiale.it/

Governare gli italiani non è impossibile, è inutile. (G.Giolitti)

08-01-2006 17:59
Click Here to See the Profile for Simbios Click Here to See the Blog of Simbios Click here to Send Simbios a Private Message Find more posts by Simbios Add Simbios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
monik
Samus Aran

User info:
Registered: Oct 2004
Posts: 241 (0.03 al dì)
Location:
Corso: TICO
Anno: Dottoressa Magistrale
Time Online: 5 Days, 15:11:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Negli esercizi di progettazione di montanelli...come si fa l'esercizio 2 (dallo schema ER passare allo schema relazionale)?

ho provato a farlo,ma esce diverso...e poi da dove è spuntato E5 (non c'è nello schema ER ma poi compare nella soluzione)???
Qualcuno può spiegrmi??grazie!

__________________
"Think Different!"

08-01-2006 18:28
Click Here to See the Profile for monik Click Here to See the Blog of monik Click here to Send monik a Private Message Find more posts by monik Add monik to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Logan12584
Il più grande dei grandi

User info:
Registered: Nov 2003
Posts: 514 (0.06 al dì)
Location: The House of the Dead
Corso: I telecomunicazionisti conquisteranno il mondo
Anno: P(X>=2+1|X>2)
Time Online: 2 Days, 0:04:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged


edit: Non avevo visto che l'attributo era multivalore :D quindi non è normalizzato lo schema :) per normalizzarlo bisogna risorverlo con una nuova entità :D


[E2](0,N) ◊ (1,1)[E5] con A23 come attributo

__________________
Scompaio e di me solo fievoli ricordi affolleranno la mente delle genti conosciute,sarò fantasma e vagherò nelle terre di nessuno, finché l ultimo ricordo morrà insieme con il mio spirito...
Se non si è disposti a rivivere la propria vita, perché darsi la pena di viverla adesso ?
Youtube.it

Last edited by Logan12584 on 08-01-2006 at 19:39

08-01-2006 19:27
Click Here to See the Profile for Logan12584 Click here to Send Logan12584 a Private Message Find more posts by Logan12584 Add Logan12584 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Logan12584
Il più grande dei grandi

User info:
Registered: Nov 2003
Posts: 514 (0.06 al dì)
Location: The House of the Dead
Corso: I telecomunicazionisti conquisteranno il mondo
Anno: P(X>=2+1|X>2)
Time Online: 2 Days, 0:04:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

qualcuno online che sa riolvere il 3 esercizio del tema d'esame aprile 2004 ...è urgente :cry:

__________________
Scompaio e di me solo fievoli ricordi affolleranno la mente delle genti conosciute,sarò fantasma e vagherò nelle terre di nessuno, finché l ultimo ricordo morrà insieme con il mio spirito...
Se non si è disposti a rivivere la propria vita, perché darsi la pena di viverla adesso ?
Youtube.it

09-01-2006 10:26
Click Here to See the Profile for Logan12584 Click here to Send Logan12584 a Private Message Find more posts by Logan12584 Add Logan12584 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Logan12584
Il più grande dei grandi

User info:
Registered: Nov 2003
Posts: 514 (0.06 al dì)
Location: The House of the Dead
Corso: I telecomunicazionisti conquisteranno il mondo
Anno: P(X>=2+1|X>2)
Time Online: 2 Days, 0:04:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

:cry:

__________________
Scompaio e di me solo fievoli ricordi affolleranno la mente delle genti conosciute,sarò fantasma e vagherò nelle terre di nessuno, finché l ultimo ricordo morrà insieme con il mio spirito...
Se non si è disposti a rivivere la propria vita, perché darsi la pena di viverla adesso ?
Youtube.it

09-01-2006 10:53
Click Here to See the Profile for Logan12584 Click here to Send Logan12584 a Private Message Find more posts by Logan12584 Add Logan12584 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
virtual
Scheggia Impazzita

User info:
Registered: Feb 2004
Posts: 167 (0.02 al dì)
Location: [MI]
Corso: Informatica
Anno: FINITO!
Time Online: 3 Days, 14:30:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Logan12584
qualcuno online che sa riolvere il 3 esercizio del tema d'esame aprile 2004 ...è urgente :cry:


Sparo
La traduzione puo essere fatta in 3 modi:
-accorpando ricercatore e professore in docente e ottieni :
DOCENTE(.......,TIPO,...) inserendo i campi che sono presenti nelle specializzazioni e non in Docente che possono essere nulli

-mantenendo solo le specializzazioni:
RICERCATORE(.....)
PROFESSORE(.....)
Inserendo in ricercatore e professore i campi presenti in Docente

-Mantenendo superclassi e sottoclassi:
DOCENTE(chiave_Docente, ......)
RICERCATORE(......, chiave_Docente)
PROFESSORE(......, chiave_Docente)

Dove chiave_Docente nelle relazioni Ricercatore e Professore sono chiavi esterne che puntano alla chiave primaria della relazione Docente.

__________________
Linux si coltiva... windows si pianta da solo

La prima volta che Adamo vide Eva disse: "Stai lontana cara, questo coso non so quanto cresce!!

09-01-2006 11:21
Click Here to See the Profile for virtual Click here to Send virtual a Private Message Visit virtual's homepage! Find more posts by virtual Add virtual to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Logan12584
Il più grande dei grandi

User info:
Registered: Nov 2003
Posts: 514 (0.06 al dì)
Location: The House of the Dead
Corso: I telecomunicazionisti conquisteranno il mondo
Anno: P(X>=2+1|X>2)
Time Online: 2 Days, 0:04:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma dove si trovano le risoluzioni delle gerarchie, grazie per la risposta

__________________
Scompaio e di me solo fievoli ricordi affolleranno la mente delle genti conosciute,sarò fantasma e vagherò nelle terre di nessuno, finché l ultimo ricordo morrà insieme con il mio spirito...
Se non si è disposti a rivivere la propria vita, perché darsi la pena di viverla adesso ?
Youtube.it

09-01-2006 11:26
Click Here to See the Profile for Logan12584 Click here to Send Logan12584 a Private Message Find more posts by Logan12584 Add Logan12584 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
puntozip
.arcimaestro.

User info:
Registered: Jan 2003
Posts: 332 (0.04 al dì)
Location: milano
Corso: Ticom
Anno: 1
Time Online: 10 Days, 4:57:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ci provo:

Allora le modalità in generale sono tre:
Mantenimento solo della classe padre
Mantenimento solo delle classi figlie
Mantenimento di tutte le classi

La seconda non è applicabile all'esercizio perchè si applica solo alle gerarchie di tipo totale (e questa è parziale)

Con il primo metodo inserisci nella classe docente un attributo tipo che determina se un'istanza è ricercatore o professore o altro (ricorda che è parziale quindi esistono istanze che non sono ne ricercatori ne professori), in alternativa l'attributo può essere opzionale, quindi nullo invece di contenere valore 'altro'. Se ci fossero attributi o associazioni a livello delle classi figlie questi dovrebbero essere trasferiti in docente con cardinalità minima 0.

Con il terzo metodo crei un'associazione tra docente-ricercatore e una tra docente-professore.
Ricercatore e Professore diventano entità deboli quindi ricevono la chiave di docente (identificatore esterno) e le cardinalità diventano 1,1 lato "figlie", e 0,1 lato "padre". Tutti gli attributi e le associazioni del padre vengono esplicitamente inserite nei figli.

ciao

__________________
There are two ways of constructing a software design:
one way is to make it so simple that there are obviously no deficiencies;
the other way is to make it so complicated that there are no obvious deficiencies.
(C.A.R. Hoare)

09-01-2006 11:36
Click Here to See the Profile for puntozip Click here to Send puntozip a Private Message Find more posts by puntozip Add puntozip to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Logan12584
Il più grande dei grandi

User info:
Registered: Nov 2003
Posts: 514 (0.06 al dì)
Location: The House of the Dead
Corso: I telecomunicazionisti conquisteranno il mondo
Anno: P(X>=2+1|X>2)
Time Online: 2 Days, 0:04:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Grandeeee allora quelle 3 modalità si usano per tutte le generalizzazioni tranne che la seconda che si applica solo al totale giusto?




esercizio del 18 febbraio 04 n2:
risolto così ma nn si sa se è giusto
E1:a11(pk),a12,ar1,r2(a21,a22(esterne))*,r1(a21,a2
2(esterne))

E2: a21(pk),a22(pk),a23

R3: ar3,(a11,a21,a22(pk ed esterne))

__________________
Scompaio e di me solo fievoli ricordi affolleranno la mente delle genti conosciute,sarò fantasma e vagherò nelle terre di nessuno, finché l ultimo ricordo morrà insieme con il mio spirito...
Se non si è disposti a rivivere la propria vita, perché darsi la pena di viverla adesso ?
Youtube.it

Last edited by Logan12584 on 09-01-2006 at 11:51

09-01-2006 11:49
Click Here to See the Profile for Logan12584 Click here to Send Logan12584 a Private Message Find more posts by Logan12584 Add Logan12584 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
puntozip
.arcimaestro.

User info:
Registered: Jan 2003
Posts: 332 (0.04 al dì)
Location: milano
Corso: Ticom
Anno: 1
Time Online: 10 Days, 4:57:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by puntozip

Con il terzo metodo crei un'associazione tra docente-ricercatore e una tra docente-professore.
Ricercatore e Professore diventano entità deboli quindi ricevono la chiave di docente (identificatore esterno) e le cardinalità diventano 1,1 lato "figlie", e 0,1 lato "padre". Tutti gli attributi e le associazioni del padre vengono esplicitamente inserite nei figli.

ciao


Cancella l'ultima frase: Tutti gli attributi e le associazioni del padre vengono esplicitamente inserite nei figli, è sbagliata.
:oops:

__________________
There are two ways of constructing a software design:
one way is to make it so simple that there are obviously no deficiencies;
the other way is to make it so complicated that there are no obvious deficiencies.
(C.A.R. Hoare)

09-01-2006 11:51
Click Here to See the Profile for puntozip Click here to Send puntozip a Private Message Find more posts by puntozip Add puntozip to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
puntozip
.arcimaestro.

User info:
Registered: Jan 2003
Posts: 332 (0.04 al dì)
Location: milano
Corso: Ticom
Anno: 1
Time Online: 10 Days, 4:57:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Logan12584
Grandeeee allora quelle 3 modalità si usano per tutte le generalizzazioni tranne che la seconda che si applica solo al totale giusto?


Per la precisione la seconda si dovrebbe usare per le gerarchie t,e. Ma mentre se parziale non riesci proprio ad adottarla perchè hai delle entità padre che non potresti gestire perchè non rappresentabili con nessuna figlia, nel caso della classificazione "sovrapposta" potresti in teoria usare questo metodo ma avresti delle ridondanze, per cui si preferisce uno degli altri metodi (non ricordo se la Castano lo sconsiglia o lo considera errore).

Per quanto riguarda l'esercizio mi sembra giusto.

__________________
There are two ways of constructing a software design:
one way is to make it so simple that there are obviously no deficiencies;
the other way is to make it so complicated that there are no obvious deficiencies.
(C.A.R. Hoare)

09-01-2006 12:05
Click Here to See the Profile for puntozip Click here to Send puntozip a Private Message Find more posts by puntozip Add puntozip to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 07:42.    Post New Thread    Post A Reply
Pages (9): « 1 2 3 [4] 5 6 7 8 » ... Last »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.242 seconds (58.08% PHP - 41.92% MySQL) con 24 query.