Re: Can someone tell me why this statement is failing?

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: P A <patkins2474(at)yahoo(dot)com>, pete(at)tkins(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Can someone tell me why this statement is failing?
Date: 2004-04-20 14:40:36
Message-ID: 200404201140.36332.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

El Lun 19 Abr 2004 17:31, P A escribió:
> Can anyone tell me why this SQL statement is not
> matching with the row from the table below? I think
> I'm going mad!
>
> #####################################
> SQL Statement
> #####################################
>
> SELECT * FROM t_bell_schedule WHERE calendar_day =
> '2004-04-12' AND start_time_minutes >= '1082374200'
> AND end_time_minutes <= '1082375100';

start_time_minutes and end_time_minutes are integer data types, so don't
enclose the values in quotes.

> start_time_minutes | integer |
> end_time_minutes | integer |

--
11:38:01 up 42 days, 16:05, 4 users, load average: 0.48, 0.61, 0.55
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Edmund Bacon 2004-04-20 14:42:21 Re: Can someone tell me why this statement is failing?
Previous Message Stijn Vanroye 2004-04-20 07:26:03 Re: three-way join - solved