Re: [GENERAL] current_timestamp - 20 minutes

2005-07-12 Thread Matthew Terenzio
On Jul 12, 2005, at 11:43 PM, Joshua D. Drake wrote: Matthew Terenzio wrote: I 'm storing things in a table with now() and I want to select * from theTable WHERE the Timestamp is > the current time - 20 minutes Anyone know the correct syntax. I was trying something like: WHERE timestamp_field

Re: [GENERAL] current_timestamp - 20 minutes

2005-07-12 Thread Joshua D. Drake
Matthew Terenzio wrote: I 'm storing things in a table with now() and I want to select * from theTable WHERE the Timestamp is > the current time - 20 minutes Anyone know the correct syntax. I was trying something like: WHERE timestamp_field > (timestamp now() - interval '20 minutes') sel

[GENERAL] current_timestamp - 20 minutes

2005-07-12 Thread Matthew Terenzio
I 'm storing things in a table with now() and I want to select * from theTable WHERE the Timestamp is > the current time - 20 minutes Anyone know the correct syntax. I was trying something like: WHERE timestamp_field > (timestamp now() - interval '20 minutes') and will continue reading the