.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Basi di dati ~ informatica triennale (http://www.dsy.it/forum/forumdisplay.php?forumid=211)
-- Query (http://www.dsy.it/forum/showthread.php?threadid=43966)


Posted by ripp on 22-06-2015 16:31:

Query

Non ho capito bene questa query
1)una funzione che converte una data dal formato americano
anno-mese-giorno al formato italiano giorno/mese/anno

Grazie in anticipo.


Posted by Cronovirus on 22-06-2015 18:58:

Ciao!
Perdonami non ho capito bene cosa chiedi.. Cosa devi fare?


Posted by ripp on 22-06-2015 19:06:

per l'esame praticamente il prof in un esercitazione ha chiesto una query come questa devo trasformare una data dal formato americano a italiano cioè mysql prende come input il formato '2015/06/22' io devo trasformarlo in '22/06/2015'
solo che non sono riuscito a trovare una soluzione qualche idea?


Posted by Cronovirus on 22-06-2015 19:30:

http://www.w3schools.com/sql/func_date_format.asp
Questa è molto semplice


Posted by ripp on 22-06-2015 19:33:

grazie tante :)


All times are GMT. The time now is 08:51.
Show all 5 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.