<font size=2 face="sans-serif">maybe something like </font>
<br><font size=2 face="sans-serif">select date_part('hours',on_date)
from table </font>
<br>
<br><font size=2 face="sans-serif">do you know </font>
<br><a href="http://www.r20.nl/TheSQLGuidetoIngres-AppendixB.pdf"><font size=2 face="sans-serif">http://www.r20.nl/TheSQLGuidetoIngres-AppendixB.pdf</font></a>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">"abc@google.com"
<abc@google.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">info-ingres@lists.planetingres.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">10/03/2016 11:10</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">[Info-ingres]
Selecting rows based on time range</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif">info-ingres-bounces@lists.planetingres.org</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Hi,<br>
<br>
I want to find all rows in my database that were updated between 10:00
<br>
and 11:00 (regardless of day). I have a column called update_date
<br>
that holds the date and time of the row's last update.<br>
<br>
I'm trying something like this:<br>
<br>
select * from table<br>
where<br>
update_date-date_trunc('day',update_date) between '10:00:00'
and <br>
'11:00:00'<br>
<br>
But can't quite get it to work. Any suggestions?<br>
<br>
Thanks.<br>
<br>
_______________________________________________<br>
Info-ingres mailing list<br>
Info-ingres@lists.planetingres.org<br>
</font></tt><a href="http://lists.planetingres.org/mailman/listinfo/info-ingres"><tt><font size=2>http://lists.planetingres.org/mailman/listinfo/info-ingres</font></tt></a><tt><font size=2><br>
</font></tt>
<br><p><br>
This communication is for use by the intended recipient and contains<br>
information that may be Privileged, confidential or copyrighted under<br>
applicable law. If you are not the intended recipient, you are hereby<br>
formally notified that any use, copying or distribution of this e-mail,<br>
in whole or in part, is strictly prohibited. Please notify the sender by<br>
return e-mail and delete this e-mail from your system. Unless explicitly<br>
and conspicuously designated as "E-Contract Intended", this e-mail does<br>
not constitute a contract offer, a contract amendment, or an acceptance<br>
of a contract offer. This e-mail does not constitute a consent to the<br>
use of sender's contact information for direct marketing purposes or for<br>
transfers of data to third parties.</p>
<p>Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean</p>
<p> http://www.DuPont.com/corp/email_disclaimer.html</p>