Hil list,
I have a query but my IDE (Delphi) does not accept "to_char" capability. Is there a way to reproduce the same query without using to_char function ?
Here is my query:
SELECT to_char(quando,'dd/MM/yyyy HH24:MI'),count(id)
FROM base.tentativa
WHERE (SESSAO_ID = 15)
GROUP BY to_char(quando,'dd/MM/yyyy HH24:MI')
order by 1
Regards ...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/
- [SQL] Group by minute Ezequias Rodrigues da Rocha
- Re: [SQL] Group by minute Niklas Johansson
- Re: [SQL] Group by minute Mezei Zoltán
- Re: [SQL] Group by minute Scott Marlowe
- [SQL] How to autoincrement a primary ... Doug Hyde
- Re: [SQL] How to autoincrement a ... Richard Broersma Jr
- Re: [SQL] How to autoincremen... Andrew Chilton
- Re: [SQL] How to autoincremen... Thomas Kellerer
- Re: [SQL] How to autoinc... Aarni Ruuhimäki