Re: Question about Oracle compatibility
От
Don Baccus
Тема
Re: Question about Oracle compatibility
Дата
Msg-id
3.0.1.32.20001127104727.01b3a100@mail.pacifier.com
Ответ на
Re: Question about Oracle compatibility (Tom Lane)
Список
Дерево обсуждения
Question about Oracle compatibility Mario Weilguni <mweilguni@sime.com>
Re: Question about Oracle compatibility Tom Lane <tgl@sss.pgh.pa.us>
Re: Question about Oracle compatibility Don Baccus <dhogaza@pacifier.com>
Re: Question about Oracle compatibility Pete Forman <pete.forman@westgeo.com>
Re: Question about Oracle compatibility Don Baccus <dhogaza@pacifier.com>
Re: Question about Oracle compatibility Don Baccus <dhogaza@pacifier.com>
Re: Question about Oracle compatibility Alex Perel <veers@webhosting.com>
At 12:44 PM 11/27/00 -0500, Tom Lane wrote:
>Mario Weilguni writes:
>> In Oracle, empty strings and null are basicly the same,
>
>Are you sure about that? It'd be a pretty major failure to comply with
>SQL standard semantics, if so.
Thought you'd get a kick out of this:
Connected to:
Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
SQL> create table fubar(some_string varchar(1000));
Table created.
SQL> insert into fubar values('');
1 row created.
SQL> select count(*) from fubar where some_string is null;
COUNT(*)
---------- 1
SQL>
- Don Baccus, Portland OR Nature photos, on-line guides, Pacific Northwest Rare Bird Alert Service and other goodies at http://donb.photo.net.
В списке pgsql-hackers по дате отправления