Re: Differentiate Between Zero-Length String and NULLColumn Values

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Differentiate Between Zero-Length String and NULLColumn Values
Дата
Msg-id 45CB7A5F.2060501@Yahoo.com
обсуждение исходный текст
Ответ на Re: Differentiate Between Zero-Length String and NULLColumn Values  (Jamie A Lawrence <jal@clueinc.net>)
Список pgsql-sql
On 1/30/2007 3:17 PM, Jamie A Lawrence wrote:
> Just a datapoint:
> 
> SQL*Plus: Release 10.1.0.3.0 - Production on Tue Jan 30 15:15:49 2007
> 
> Copyright (c) 1982, 2004, Oracle.  All rights reserved.
> 
> 
> Connected to:
> Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
> With the Partitioning, OLAP and Data Mining options

It is well known that Oracle's handling of zero length strings violates 
all ANSI SQL Standards, so what exactly is your point?


Jan

> 
> SQL> select * from dual where '' IS NULL;
> 
> D
> -
> X
> 
> SQL> select * from dual where '' = NULL;
> 
> no rows selected
> 
> 
> -j
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly


-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


В списке pgsql-sql по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: COPY FROM - force a value
Следующее
От: "Demel, Jeff"
Дата:
Сообщение: Re: COPY FROM - force a value