AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SUM(DATE)

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
Alex
Guest





PostPosted: Fri May 27, 2005 7:27 am    Post subject: SUM(DATE) Reply with quote



Salve, è tutta la mattina che cerco una soluzione in google e vado x
tentativi su TOAD ma non sono riuscito a trovare una soluzione...


Il mio problema è questo:
dovrei sommare un campo di tipo CHAR(Cool che contiene una durata,
la query esemplificativa è la seguente:


SELECT SUM(TO_CHAR('00:00:01', 'hh24:mi:ss')) FROM TABELLA


ma restituisce: "invalid number"


ho provato anche ad usare TO_DATE al posto di TO_CHAR ma restituisce un

"inconsistent datatypes"... qualcuno mi sa dare una soluzione?

Scusate se sono un pò OT ma nn ho trovato un gruppo più adatto...
Grazie

Back to top
Francesco Galli
Guest





PostPosted: Fri May 27, 2005 7:58 am    Post subject: Re: SUM(DATE) Reply with quote



Quote:
Scusate se sono un pò OT ma nn ho trovato un gruppo più adatto...

it.comp.software.database



Back to top
DKano
Guest





PostPosted: Fri May 27, 2005 9:54 am    Post subject: Re: SUM(DATE) OT Reply with quote



Francesco Galli wrote:
Quote:
Scusate se sono un pò OT ma nn ho trovato un gruppo più adatto...


it.comp.software.database


E' OT ma non resisto, scusatemi Smile


Come capperello pretende di sommare delle stringhe con sum()?
bye
DKano

Back to top
Alex
Guest





PostPosted: Fri May 27, 2005 12:15 pm    Post subject: Re: SUM(DATE) OT Reply with quote

Bravo! un intervento utilissimo, con questo ci hai fatto tutti +
felici!
Cmq x tua informazione ho postato il problema dove mi ha gentilmente
indicato Francesco... li persone competenti (a differenza di te) hanno
risposto con + soluzioni!

Fai poco l'arrogante e studia di più

Ciao

Back to top
Vincent Vega
Guest





PostPosted: Sat May 28, 2005 10:55 am    Post subject: Re: SUM(DATE) OT Reply with quote

Alex wrote:

Quote:
Bravo! un intervento utilissimo, con questo ci hai fatto tutti +
felici!
Cmq x tua informazione ho postato il problema dove mi ha gentilmente
indicato Francesco... li persone competenti (a differenza di te) hanno
risposto con + soluzioni!

Magari perchè era il posto giusto.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.