From: Peter Eisentraut <peter_e@gmx.net>
To: Carlos Sousa <carlosdsousa@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: bigger problem
Date: Mon, 11 Nov 2002 21:12:37 +0100 (CET)
Message-ID: <Pine.LNX.4.44.0211112004070.12428-100000@localhost.localdomain> (raw)
In-Reply-To: <F51Y1R1ybSyGE5oHKoF00002df8@hotmail.com>
Carlos Sousa writes:
> (...)
> var varchar2(50) default '' not null
> (...)
>
> but when i was importing the the table into the oracle database all the rows
> with the field var='' were not inserted.
> Is there a way to work this around
Yes, don't use Oracle.
In Oracle, '' is the same as null, so the constraint is not satisfied.
--
Peter Eisentraut peter_e@gmx.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, carlosdsousa@hotmail.com
Subject: Re: bigger problem
In-Reply-To: <Pine.LNX.4.44.0211112004070.12428-100000@localhost.localdomain>
References: <F51Y1R1ybSyGE5oHKoF00002df8@hotmail.com> <Pine.LNX.4.44.0211112004070.12428-100000@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox