|
|
@ -10,7 +10,7 @@ |
|
|
|
alink="#0000ff"> |
|
|
|
alink="#0000ff"> |
|
|
|
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1> |
|
|
|
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1> |
|
|
|
|
|
|
|
|
|
|
|
<P>Last updated: Thu Feb 24 19:32:04 EST 2005</P> |
|
|
|
<P>Last updated: Thu Feb 24 19:33:07 EST 2005</P> |
|
|
|
|
|
|
|
|
|
|
|
<P>Current maintainer: Bruce Momjian (<A href= |
|
|
|
<P>Current maintainer: Bruce Momjian (<A href= |
|
|
|
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>) |
|
|
|
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>) |
|
|
@ -828,7 +828,7 @@ table?</TD><TD>unlimited</TD></TR> |
|
|
|
WHERE col IS NULL; |
|
|
|
WHERE col IS NULL; |
|
|
|
</PRE> |
|
|
|
</PRE> |
|
|
|
|
|
|
|
|
|
|
|
<P>To sort by the <SMALL>NULL</SMALL status, use the <SMALL>IS NULL</SMALL> |
|
|
|
<P>To sort by the <SMALL>NULL</SMALL> status, use the <SMALL>IS NULL</SMALL> |
|
|
|
and <SMALL>IS NOT NULL</SMALL> modifiers in your <SMALL>WHERE</SMALL> clause. |
|
|
|
and <SMALL>IS NOT NULL</SMALL> modifiers in your <SMALL>WHERE</SMALL> clause. |
|
|
|
Things that are <I>true</I> will sort higher than things that are <I>false</I>, |
|
|
|
Things that are <I>true</I> will sort higher than things that are <I>false</I>, |
|
|
|
so the following will put NULL entries at the top of the resulting list:</P> |
|
|
|
so the following will put NULL entries at the top of the resulting list:</P> |
|
|
|