pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Marques <martin@bugs.unl.edu.ar>
To: P A <patkins2474@yahoo.com>
To: pete@tkins.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Can someone tell me why this statement is failing?
Date: Tue, 20 Apr 2004 11:40:36 -0300
Message-ID: <200404201140.36332.martin@bugs.unl.edu.ar> (raw)
In-Reply-To: <20040419203150.77559.qmail@web41112.mail.yahoo.com>
References: <20040419203150.77559.qmail@web41112.mail.yahoo.com>

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
-----------------------------------------------------------------




view thread (5+ messages)  latest in thread

Message-ID: <200404201140.36332.martin@bugs.unl.edu.ar>
Permalink:  ../200404201140.36332.martin@bugs.unl.edu.ar/
Also on:    postgresql.org/message-id/200404201140.36332.martin@bugs.unl.edu.ar

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: martin@bugs.unl.edu.ar, patkins2474@yahoo.com, pete@tkins.com
  Subject: Re: Can someone tell me why this statement is failing?
  In-Reply-To: <200404201140.36332.martin@bugs.unl.edu.ar>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox