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 > Social network 2010/2011
Pages (11): « First ... « 5 6 7 8 [9] 10 11 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
blue_tech
.fedelissimo.

User info:
Registered: Feb 2011
Posts: 47 (0.01 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 9:09:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

già ;)

oggi provo ad implementare tutto e faccio tutte le prove del caso ma da quel che ho visto ieri direi che funziona tutto :)

09-09-2011 12:12
Click Here to See the Profile for blue_tech Click here to Send blue_tech a Private Message Find more posts by blue_tech Add blue_tech to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
blue_tech
.fedelissimo.

User info:
Registered: Feb 2011
Posts: 47 (0.01 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 9:09:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

confermo che funziona tutto... ho implementato 3 viste materializzate con i relativi trigger e procedure e nell'utilizzo ho verificato che funziona tutto correttamente :)

09-09-2011 17:12
Click Here to See the Profile for blue_tech Click here to Send blue_tech a Private Message Find more posts by blue_tech Add blue_tech to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
number15
.grande:maestro.

User info:
Registered: Nov 2005
Posts: 652 (0.09 al dì)
Location:
Corso:
Anno:
Time Online: 121 Days, 13:57:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

;-)

__________________
Portale segnalazioni marchi-negozi di abbigliamento
http://www.ovojo.com

09-09-2011 17:32
Click Here to See the Profile for number15 Click here to Send number15 a Private Message Find more posts by number15 Add number15 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
blue_tech
.fedelissimo.

User info:
Registered: Feb 2011
Posts: 47 (0.01 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 9:09:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

abbiate pazienza sto sistemando gli ultimi punti mancanti e ho un problema con il punto dove chiede che i giochi che dopo un tot di tempo non vengono presi da un numero di utenti, vengano cancellati in automatico... sinceramente non saprei come fare... ho sentito parlare di cron, sto guardando gli eventi in mysql ma non capisco bene come farlo...

so che ad ogni inserimento dovrei far partire un timer che controlli al suo scadere se qualcuno ha usato il suddetto gioco e se non tovo nessuno devo cancellare il gioco...

ma tecnicamente come cribbio lo faccio? :/

10-09-2011 18:05
Click Here to See the Profile for blue_tech Click here to Send blue_tech a Private Message Find more posts by blue_tech Add blue_tech to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
number15
.grande:maestro.

User info:
Registered: Nov 2005
Posts: 652 (0.09 al dì)
Location:
Corso:
Anno:
Time Online: 121 Days, 13:57:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Guarda qualche pagina fa che ne avevo discusso con un altro ragazzo.

Per cron non so aiutarti nello specifico, ma, ripeto, mi sembra 'complesso' per un progettino.

Puoi sennò fare col trigger che avevo consigliato all'altro ragazzo.

Comunque sentirei il prof per capire bene cosa vuole

__________________
Portale segnalazioni marchi-negozi di abbigliamento
http://www.ovojo.com

10-09-2011 18:17
Click Here to See the Profile for number15 Click here to Send number15 a Private Message Find more posts by number15 Add number15 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
blue_tech
.fedelissimo.

User info:
Registered: Feb 2011
Posts: 47 (0.01 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 9:09:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

gli ho già scritto per chiedere una delucidazione su una richiesta ma non mi ha ancora risposto -_-' quasi non ci spero che mi possa aiutare...

10-09-2011 19:01
Click Here to See the Profile for blue_tech Click here to Send blue_tech a Private Message Find more posts by blue_tech Add blue_tech to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
blue_tech
.fedelissimo.

User info:
Registered: Feb 2011
Posts: 47 (0.01 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 9:09:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma un trigger cmq non basta... nel senso che sicuramente sarà un trigger a far partire il timer, ma il controllo e l'eventuale eliminazione deve farlo qualcos'altro...

10-09-2011 19:02
Click Here to See the Profile for blue_tech Click here to Send blue_tech a Private Message Find more posts by blue_tech Add blue_tech to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
number15
.grande:maestro.

User info:
Registered: Nov 2005
Posts: 652 (0.09 al dì)
Location:
Corso:
Anno:
Time Online: 121 Days, 13:57:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Puoi fare un trigger che fai partire dopo una qualche azione e dentro gli fai fare il controllo sulle date.

Con cron non è una azione a far partire un trigger, ma Ad esempio fai che ogni giorno alle 5 di mattina va eseguita una query di delete controllando le date e fine

__________________
Portale segnalazioni marchi-negozi di abbigliamento
http://www.ovojo.com

Last edited by number15 on 10-09-2011 at 20:31

10-09-2011 20:21
Click Here to See the Profile for number15 Click here to Send number15 a Private Message Find more posts by number15 Add number15 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
blue_tech
.fedelissimo.

User info:
Registered: Feb 2011
Posts: 47 (0.01 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 9:09:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok credo di aver risolto però una cosa non mi viene... come gli dico in un trigger:

modifica il dato di una tabella quando la primarykey è uguale a questo codice che ho appena inserito in pippo?

il trigger si attiva after insert on PIPPO

EDIT:

spiego meglio con un esempio:

1) inserisco in PIPPO la coppia cod1,cod2
2) si attiva il trigger
come gli dico:

Aggiorna cod3 in PLUTO dove PLUTO.cod1= cod1 che ho appena inserito

???

Last edited by blue_tech on 12-09-2011 at 17:25

12-09-2011 17:21
Click Here to See the Profile for blue_tech Click here to Send blue_tech a Private Message Find more posts by blue_tech Add blue_tech to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
number15
.grande:maestro.

User info:
Registered: Nov 2005
Posts: 652 (0.09 al dì)
Location:
Corso:
Anno:
Time Online: 121 Days, 13:57:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non ho capito.
La pk è sempre in pippo?

Prova a far un esempio.

Il costrutto potrebbe essere:
IF NEW.codice = (SELECT xxx FROM xxx)
THEN
UPDATE tabella

__________________
Portale segnalazioni marchi-negozi di abbigliamento
http://www.ovojo.com

12-09-2011 17:30
Click Here to See the Profile for number15 Click here to Send number15 a Private Message Find more posts by number15 Add number15 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
blue_tech
.fedelissimo.

User info:
Registered: Feb 2011
Posts: 47 (0.01 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 9:09:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mmm ho appena risolto bypassando il problema...

riaggiorno lo stato del campo in PLUTO per tutte le righe facendo un normale confronto... così funziona ;)

12-09-2011 17:35
Click Here to See the Profile for blue_tech Click here to Send blue_tech a Private Message Find more posts by blue_tech Add blue_tech to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Guccio
.fedelissimo.

User info:
Registered: May 2009
Posts: 59 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: Terzo
Time Online: 9:28:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Lightbulb Tabelle delle statistiche

Raga ma voi le tabelle delle statistiche le avete rapresentate anche nel diagramma e/r? se si come?

25-09-2011 19:25
Click Here to See the Profile for Guccio Click here to Send Guccio a Private Message Find more posts by Guccio Add Guccio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
pirlo21
.arcimaestro.

User info:
Registered: Nov 2007
Posts: 352 (0.06 al dì)
Location:
Corso: informatica
Anno:
Time Online: 2 Days, 21:38:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

qualcuno ha consegnato in questa sessione 26-30 settembre?

30-09-2011 14:32
Click Here to See the Profile for pirlo21 Click here to Send pirlo21 a Private Message Find more posts by pirlo21 Add pirlo21 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
blue_tech
.fedelissimo.

User info:
Registered: Feb 2011
Posts: 47 (0.01 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 9:09:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si ho portato ieri il mio e c'erano già altre buste sulla scrivania... non erano molte ma non so se erano tutte...

30-09-2011 16:20
Click Here to See the Profile for blue_tech Click here to Send blue_tech a Private Message Find more posts by blue_tech Add blue_tech to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gnappo89
.consigliere.

User info:
Registered: Jan 2009
Posts: 100 (0.02 al dì)
Location: Cisliano
Corso: Informatica
Anno: HoPersoIlConto
Time Online: 3 Days, 21:52:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Anche io ieri!

30-09-2011 20:18
Click Here to See the Profile for Gnappo89 Click here to Send Gnappo89 a Private Message Find more posts by Gnappo89 Add Gnappo89 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 02:22.    Post New Thread    Post A Reply
Pages (11): « First ... « 5 6 7 8 [9] 10 11 »   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.042 seconds (84.94% PHP - 15.06% MySQL) con 26 query.