Values like ''

From: Elielson Fontanezi <ElielsonF(at)prodam(dot)sp(dot)gov(dot)br>
To: "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>
Subject: Values like ''
Date: 2003-12-05 19:18:54
Message-ID: A799F7647794D311924A005004ACEA970D209757@cprodamibs249.prodam
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi folks!

Why does the following query work on pgsql 7.2.3 and not in pgsql 7.3.4?

SELECT cronograma_evento.nr_projeto ,cronograma_evento.dt_inic
,cronograma_evento.nr_sala ,cronograma_evento.tm_hora_inicial
,cronograma_evento.tm_hora_final ,cronograma_evento.cd_turma
,cronograma_evento.cd_discipl ,locais_sala.cd_tipo_sala

FROM
cronograma_evento, locais_sala

WHERE
cronograma_evento.dt_crono = '1/12/2003'

AND cronograma_evento.cd_local = ''

AND cronograma_evento.cd_local = locais_sala.cd_local
AND cronograma_evento.nr_sala = locais_sala.nr_sala

ORDER BY
cronograma_evento.nr_sala,
cronograma_evento.tm_hora_inicial;



>\\\!/< 55 11 5080 9258
!_"""_! Elielson Fontanezi
(O) (o) PRODAM
--------------------oOOO--(_)--OOOo-----------------------
Success usually comes to those
who are too busy to be looking for it.
oooo0 0oooo
----------------( )----------( )--------------------
\ ( ) /
\_/ \_/

Attachment Content-Type Size
image/jpeg 2.9 KB

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message David Shadovitz 2003-12-05 21:51:20 Fetch a single record
Previous Message Olivier Hubaut 2003-12-05 15:47:07 Is it possible to set a NOT NULL constraint deferrable?