<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Forum PostgreSQL - Problem z polem data gdy jest null]]></title>
		<link>https://forum.postgresql.org.pl/viewtopic.php?id=14387</link>
		<description><![CDATA[Najświeższe odpowiedzi w Problem z polem data gdy jest null.]]></description>
		<lastBuildDate>Tue, 28 Nov 2017 11:08:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Odp: Problem z polem data gdy jest null]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=18032#p18032</link>
			<description><![CDATA[JUŻ NIE WAŻNE :)

WYSTARCZYŁO: select * from tabela where datur is null]]></description>
			<author><![CDATA[dummy@example.com (STRATOLINER)]]></author>
			<pubDate>Tue, 28 Nov 2017 11:08:32 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=18032#p18032</guid>
		</item>
		<item>
			<title><![CDATA[Problem z polem data gdy jest null]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=18031#p18031</link>
			<description><![CDATA[Mam problem z wykonaniem selecat dla wierszy z datą która jest nie wpisana. 
Jest tabela: w której:

  nrkro character(14) NOT NULL,
  datur date,
  

W podglądzie mam wiersze np:
nrkro | datur |
005070936501  || 
AT007530709   |2005-01-15|

Nie mogę wyświetlić żadnego wiersza, który ma pole datur puste :(
Robię:

select * from tabela where datur=null
select * from tabela where datur=''
select * from tabela where datur=""
select * from tabela where datur='    -  -  '
select * from krowy where to_char(datur,  'YYYY-MM-DD')=''
select * from krowy where to_char(datur,  'YYYY-MM-DD')='    -  -  '
select * from krowy where to_char(datur,  'YYYY-MM-DD')=null

nic z powyższego nie działa tzn wynik jest pusty

Jakieś pomysły?]]></description>
			<author><![CDATA[dummy@example.com (STRATOLINER)]]></author>
			<pubDate>Tue, 28 Nov 2017 06:54:11 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=18031#p18031</guid>
		</item>
	</channel>
</rss>
